Hello every one! I am using django, today i have a reqirement that was defining some properties on models, so i wrote the "__init__" to do that in my Model class, and then i found that i was lost the code prompting of the model class when i using them by write "MyFooModel( a_filed=...", and the model object doesn't works when set or get value.
The machinism of code prompting was really amazing, but may be too complex to my situation, i've no idea about how it effects after i read the code ( of the class django.db.models.ModelBase ). so, are there anyone could help me ? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/tencent_407C776DCD1395AC07309739082D7C4E6606%40qq.com. For more options, visit https://groups.google.com/d/optout.