As you have learned Django Python during this time, follow the link below for the tutorial.
Http://www.cnblogs.com/lt1983/archive/2012/05/16/2504239.html
However, it is found that the file django1.4 or later cannot be generated normally, mainly because the file manage. py is not in the same directory as the directory of the created project. For example:
Bookms
├ ── Bookapp
├ ── Bookms
├ ── Django-groundwork
Manage. py
Then run Python manage. py groundwork bookapp book
Will become
Bookms
├ ── Bookapp
Templates
│ ─ ── Bookapp
├ ── Bookms
├ ── Django-groundwork
Manage. py
─ ── URLs. py
─ ── Setting. py
At this time, you need to do some processing. If your Django version is later than 1.4, You need to manually modify some files, as shown below:
Delete the URLs. py and setting. py at the same layer as manage. py, but do not delete the templtes directory.
View the URL. py in the outer bookms and add the following content:
Urlpatterns + = patterns ('',
URL (R' ^ bookapp/', include ('bookapp. urls ')),
)
After processing, the preceding example can be continued.