I have this formset.
models.py:
thats how i used it in my template:
and it shows like this in my browser: i tried every this but i could not able to to get rid of currently and i literally do not know how to style this. please help me guys. |
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/372952eb-6a2c-4422-9706-00a1a6dbc444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
My apologies. I have solved this problem myself. I separated my models to their own files because they got over 2K lines, and I named the file the attachment model lives in Attachment.py. Because the module-level function getUploadPath and Attachment's getUploadPath both have the same name, Django's migration autodetector tries to access "backend.models.Attachment.getUploadPath" but the Attachment module is overwritten by the Attachment class in backend/models/__init__.py: "from .Attachment import Attachment". I ended up renaming all the model files to remove the ambiguity and then recreating my migrations. Apologies for wasting your time! ^^
Best Regards,
m712 - Developer
Ahaha, apologies again. I am very new to mailing lists and ended up replying to someone who didn't reply to me. Please remove my messages if possible. Sorry!