Welch eine Verwunderung. macdet liest
From the command line, cd into a directory where you’d like to store your code, then run the command django-admin.py startproject mysite. This will create a mysite directory in your current directory.
mysite/
__init__.py
manage.py
settings.py
urls.py
python manage.py runserver 8080
While you’re editing settings.py, take note of the INSTALLED_APPS setting towards the bottom of the file. That variable holds the names of all Django applications that are activated in this Django instance. Apps can be used in multiple projects, and you can package and distribute them for use by others in their projects.
python manage.py syncdb
To create your app, make sure you’re in the mysite directory and type this command: python manage.py startapp polls
-- DetlevLengsfeld 2007-05-18 16:05:24
Python/Django/Meine ersten Schritte zu einer neuen Startseite für den Mobbing-Gegner (last edited 2009-12-10 08:16:25 by DetlevLengsfeld)
