Closed Izaanaami closed 3 months ago
ok it seems I'm just not that fluent in python. I declared fields in translation.py file using ' : ' instead of ' = ' :/
Yes, that's right!
I recommend using type-checker (like pyright, integrates very well with any editor supporting LSP), to catch those issues outright.
hi. I installed modeltranslation package and everything said in the documentation but there is no new field added for translation in the admin panel. my project is up and has many models in the database, so when I run makemigration and migrate, it says there is no changes to apply. I'm using django 4.2 . here is my configuration:
settings.py :
my model:
translation.py: