Django: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
 
* [http://stackoverflow.com/a/14428951/2510374 DJANGO_SETTINGS_MODULE]
 
* [http://stackoverflow.com/a/14428951/2510374 DJANGO_SETTINGS_MODULE]
  
==Collaborative==
+
==Databases==
 +
* Install Databases
 +
~/.environments/<PROJEKT>env/bin/pip install -r requirements.txt
 +
 
 +
==Migrations==
 
* Migrate on change of requirements.txt, e.g. new tables are added.
 
* Migrate on change of requirements.txt, e.g. new tables are added.
 
** <ENV> manage.py '''migrate'''
 
** <ENV> manage.py '''migrate'''
 
+
* [http://www.djangopro.com/2011/01/django-database-migration-tool-south-explained/ Django database migration tool: south, explained]
* Install Databases
 
~/.environments/<PROJEKT>env/bin/pip install -r requirements.txt
 
  
 
==Internationalization==
 
==Internationalization==

Version vom 3. Juli 2013, 10:21 Uhr

Django - a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Aptana Configuration

  • Win-Preferences->PyDev->Editor->Code Completeion: Apply completion on '.' and '('

Tutorials

Style Guides

Configure with PyCharm

Databases

  • Install Databases
~/.environments/<PROJEKT>env/bin/pip install -r requirements.txt

Migrations

Internationalization

  • Create or update message files:
    • django-admin.py makemessages -l de
  • Compile all:
    • bash compilemessages.sh

Hosting