Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

3D

INTERN

ADOBE

ARDUINO

BITBUCKET

DOCKER

C4D

GIT

HTML

IPHONE

JAVASCRIPT

JTL-SHOP

LARAVEL

MAGENTO2

MYSQL

PHP

PLESK

PROCESSING

PYTHON

SUITECRM

SEO

TRYTON

THUNDERBIRD / ICEDOVE / FossaMail

TYPO3

TYPO3: BACKEND

TYPO3: TYPOSCRIPT

UNIX

VLC

VVVV

WINDOWS

WINDOWS 10

WORDPRESS

XAMPP

XT:C 4 (Veyton)

django-basics

django basics

is django installed?

$ pyhon -c "import django; print(django.get_version())"

start a project

$ django-admin.py startproject mysite

administration

django-admin.py help
manage.py help

start a development server

$ python manage.py runserver

Creating models

projects vs apps

  • app = web application that does something
  • project = collection of configuration and apps for a particular website

a project can contain multiple apps, an app can be in multiple projects

create an app

$ python manage.py startapp myapp
django-basics.txt · Zuletzt geändert: 2015/02/07 19:14 von admin