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
automatically include some files you can specify these files in
\django\conf\project_template

On Thu, Aug 28, 2008 at 8:06 AM, Daniel A. <[EMAIL PROTECTED]> wrote:

>
> 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
> >
>


-- 
http://www.goldwatches.com/

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to