Re: Generate admin files. Views and Templates with Django?

2008-08-29 Thread V
Actually, there is an admin interface built into django. You can get it running by simply adding django.contrib.admin to your settings.py INSTALLED_APPS variable and reading through the comments of your urls.py and uncommenting the corresponding lines. Still, by default this admin is not

Re: Generate admin files. Views and Templates with Django?

2008-08-28 Thread James Matthews
When you create a project you run a command (python manage.py startapp test) that creates the directory and the model and view files. However if you want the app to use the admin interface you must explicitly state it in your models.py file or admin.py (which you need to create) If you wish to

Generate admin files. Views and Templates with Django?

2008-08-28 Thread Daniel A.
I'm a Rails switcher to Django. In Rails there's an option to generate all the scaffold files, ie, there's a command line script that creates all the files in the project folder of the admin interface. I want to know if there's something similar for Django. Thanks