Name of the "main" app in a template-based project

71 views
Skip to first unread message

Dominique Guardiola Falco

unread,
May 6, 2012, 8:16:10 AM5/6/12
to django-d...@googlegroups.com

Another question about the project template command :
In the example source of django, the name of the "main app" folder in the root project folder is named "project_name" so to be catched by the context rendering, I suppose.

I tried to change this default name I want, but the resulting project contains a name like "project-name-template-66b7f02"

My question is : is it mandatory in django 1.4 new folder structure that this first app has the same name as the project ?

Motivation : I have references to this "main app" models in other packaged apps, so I need this "main app" to have a fixed name, whereas the  project folder name is rather the name of this particular django instance.

Thanks for your help
Reply all
Reply to author
Forward
0 new messages