On Friday, March 4, 2011 10:34:27 AM UTC, ALJ wrote:
>
> Where does "admin.py" actually go? Do you need one for each of your 
> applications or just one in the root of the project. Or does it go in 
> an "admin" directory in your project? 
>
> (Sorry, for the stupid question. I'm returning to an old project and 
> restructuring it. In the process I have, as you imagine, knackered it 
> up. I originally only used one 'core' application and had it in there. 
> But now I want to split up the applications into different 
> directories.) 
>
> One for each application. 
>From 
>http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#modeladmin-objects:
"The ModelAdmin class is the representation of a model in the admin 
interface. These are stored in a file named admin.py in your application."
--
DR. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to