See theprevious blogs which explain how to setup Django on Arch/Manjaro Linux.
mkvirtualenv hello_django/
cd ~/.virtualenvs/hello_django/
pip install django
django-admin.py startproject hello
cd hello
http://www.djangobook.com/en/2.0/chapter03.html
python manage.py runserver 127.0.0.1:8000
From:
http://docs.python.org/3.0/library/sys.html
Note: the django book example uses Python 2. To get this to work with Python 3 remove the print:
>>> print sys.version
File "", line 1
print sys.version
^
SyntaxError: invalid syntax
>>> sys.version
'3.3.2 (default, Sep 6 2013, 09:30:10) \n[GCC 4.8.1 20130725 (prerelease)]'
>>>
mkvirtualenv hello_django/
cd ~/.virtualenvs/hello_django/
pip install django
django-admin.py startproject hello
cd hello
http://www.djangobook.com/en/2.0/chapter03.html
python manage.py runserver 127.0.0.1:8000
From:
http://docs.python.org/3.0/library/sys.html
Note: the django book example uses Python 2. To get this to work with Python 3 remove the print:
>>> print sys.version
File "
print sys.version
^
SyntaxError: invalid syntax
>>> sys.version
'3.3.2 (default, Sep 6 2013, 09:30:10) \n[GCC 4.8.1 20130725 (prerelease)]'