Sunday, January 25, 2015

Why using admin.py in apps?

Hi,
My question seem dumb, but what is the purpose of repeating the admin.py in the apps? 

as i understand, if i want to have a good practice, i separate my application on mini apps so i can re-use them, and one of the apps that is always used, are Logins (Registrations), so, why i have to repeat the admin.py for every app, since the admin.py is related for the big project (startproject), and not for the small application (startapp) (login here) ?!

--
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-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/99db6624-f50c-420c-81d6-89efa42286d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment