Hi ! *I like working with " 1 file - 1 object " (Object could be class, function...).* It simplify visibility, debug etc... and it's easy for me to *don't pollute my brain* :-)
For exemple, I do : In *class_xxxx.py file* : class xxxx(): a b c from .xxxx_method1 import method1 from .xxxx_method2 import method2 and in *xxxx_method1.py file* : def method1(self): "my code" *It works great, but is there a better way to do that ? is there a solution to do that "automatically" ?* I read lots of thinks about mixin, heritage, etc... but is there a better way to split code to get a better granularity ? Thanks for sharing your point ;-) -- 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/CAPLHwtyEAuCs1UcvLTzt1sXL7jpCQH%3DD_TGBgwiqbq7svc%3DNaQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.