Django Home Page

Ironically, we are several steps into this tutorial and we finally get to the point where we are building the elements of our user interface into our application. Most everything up to this point is book keeping.

Our next step is to add some url routes and views to our LocalLibrary application so we can build some user interface bits.

If you are submitting this assignment to the DJ4E autograder for this assignment, it would be a good idea to check the autograder for specific instructions that the autograder requires for this assignment.

Complete the following sections of the Views tutorial:

When you make changes to configuration files like or it is always a good idea to reload your web application on PythonAnywhere under the Web tab and Reload the web server to re-read your updated configuration files.

Generally the server automatically detects changes to templates or static files without requiring your application to be reloaded. There is not harm in reloading your web application too often. If you made a change and dont think you are seeing the change, reload the web application.

Common Problems and How to Fix Them

If you reload your web application and get the "Something went wrong :(" page when you access your web application, check on the "error.log" link and scroll to the very bottom to see why your application will not start. If you see and error message like:

No module named 'django_extensions'

It probably means that you have not set up your virtual environment under the Web tab.

If you did the installation properly and created a django2 virtual environment, the virtual environment under the Web tab should be set to:


Replacing "drchuck" with your PythonAnywhere account name.