Learn Django

Checkpoint

In this chapter you made a lot of changes but none of them had an immediate impact on the visual parts of the CRM Easy application. The tasks you completed helped the behind-the-scenes aspect of the project.

One thing you can do is check to see if Django is serving static assets correctly. This can be done by starting the development server and using a browser to access one of the static assets.

1
2
3
4
5
6
# make sure you're at an activated terminal/cmd in the crmeasy dir
(venv)$ pwd
/<your_path>/crmeasy

# start the development server
(venv)$ python manage.py runserver

Now open http://127.0.0.1:8000/static/css/app.css. If you see the contents of the app.css file then everything was setup correctly.

Track your progress with a free account