imAsparky / django-tag-me

Django Tag Me... Tag a model, a field, user tags and more...
Other
1 stars 0 forks source link

[BUG]: model TagMeCharfield items breaks tests. #109

Closed imAsparky closed 3 months ago

imAsparky commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

  1. Conversion of choices to FieldTagListFormatter needs to be moved to init.
  2. Testing TagMeCharfield, in some cases a model for meta data does not exist, add a fix by testing for model attr in formfield override.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.