Installation:
tar-zxvf Django-1.5.1.tar.gz CD Django-1.5.1 [[email protected] Django-1.5.1] # ls [[email protected] Django-1.5.1] # Python setup. PY install to view the version >>> import Django >>> Django. version (1, 5, 1, 'final', 0) to create a project [[email protected] ~] # Mkdir django_proj [[email protected] ~] # Cd django_proj/[[email protected] django_proj] # django-admin.py startproject testweb [[email protected] django_proj] # lstestweb a project can have multiple apps, create an app, start [email protected] django_proj] # lstestweb [[email protected] django_proj] # cd testweb/[email protected] testweb] # lsmanage. PY testweb [[email protected] testweb] #. /manage. PY Startapp app01 [[email protected] testweb] # lsapp01 manage. PY testweb [[email protected] testweb] #. /manage. PY runserver 0.0.0.0: 8001 validating models... 0 errors foundseptember 22,201 4-11: 00: 01 Django version 1.5.1, using settings 'testweb. settings 'development server is running at http: // 0.0.0.0: 8001/quit the server with CONTROL-C. [22/SEP/2014 11:00:52] "Get/HTTP/1.1" 200 1958 basic framework came out. Although it is disgusting, it is easy to put it on the shelf.
Attachment List
12. Django simple framework