This pamphlet describes the installation of Django 3 web framework on FreeBSD 12. Required software such as Python, Nginx and PostgreSQL are already installed.
https://docs.djangoproject.com/en/3.0/intro/install/cd /usr/local/www/ mkdir django3 cd django3 pip install Django==3.0
Requirement already satisfied: Django==3.0 in /usr/local/lib/python3.6/site-packages (3.0) Requirement already satisfied: sqlparse>=0.2.2 in /usr/local/lib/python3.6/site-packages (from Django==3.0) (0.3.0) Requirement already satisfied: asgiref~=3.2 in /usr/local/lib/python3.6/site-packages (from Django==3.0) (3.2.3) Requirement already satisfied: pytz in /usr/local/lib/python3.6/site-packages (from Django==3.0) (2019.3)python3.6 Python 3.6.9 (default, Aug 22 2019, 01:16:05) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> print(django.get_version()) 3.0 >>>
exit()
Published: Dec. 7, 2019
The information on this page is user generated content. The content does not claim to be complete or correct.
Everybody is invited to add or change the data. Just click on this link. No login or email is required. Thanks.