Creating the “polls” Django app

From the online documentation… Projects vs Apps: An app is a web application that does something, a project is a collection of configuration and apps. A project can contain multiple apps and an app can be in multiple projects. Apps can live anywhere on the Python path. Creating the polls app 1) Create the app navigate to same direcotry as […]

Installing python and Django on Windows

Some notes on installing python amd Django on a Windows system. 1) download Anaconda3 (2.4.1) www.continuum.io/downloads * creates full phyton 3.5 environment with data analysis packages 2) check if django is installed C:\Users\john.knight>python -c “import django; print(django.get_version())” Traceback (most recent call last): File “<string>”, line 1, in <module> ImportError: No module named django 3) check the python directory C:\Users\john.knight>where python […]