Changes between Version 30 and Version 31 of DjangoCheatSheet


Ignore:
Timestamp:
07/17/2014 10:07:11 AM (9 months ago)
Author:
rcooke
Comment:

Remove duplicate "add app" instruction. Add note about varying paths.

Legend:

Unmodified
Added
Removed
Modified
  • DjangoCheatSheet

    v30 v31  
    3333}}}
    3434
    35 add '!AcmeIntranet.invoices', to INSTALLED_APPS list in settings.py
    36 
    3735== Create your data model ==
    3836{{{
     
    5149
    5250add your app to INSTALLED_APPS in settings.py:
     51
     52__Note:__
     531. Project and App file structure depend upon Django version, this will affect the file path to your Apps.
     541. Depending upon how you activate Django, and your server setup, you may need to prepend your project name to your App name like `AcmeIntranet.invoices`.
     55 
    5356{{{
    5457INSTALLED_APPS = (
     
    6366)
    6467}}}
     68
     69
    6570
    6671validate your model and commit to database:
Back to Top