Django – Useful manage.py Commands

Manage.py is created in each Django project. Here are some useful commands to have at your fingertips.  runserverThis launches the webserver.  startapp “application name”This creates a new application.  checkThis checks your Django project...

Django 1.11.17 Tutorial (part2) – Create Polls App

In part 1 (Create a Django 1.11.17 Environment) of this django tutorial how to create a django webapp, I set up a Django 1.11.17 project in PyCharm. In this post, I will set up and configure the polls application. This is the start of creating a first django webapp....

Django 1.11.17 Tutorial (part 1) – Create Environment

The Django Polls tutorial is the ideal way to learn Django. It is an excellent tutorial and covers most bases. This post series summarizes the tutorial. The purpose of the summary to allow me to revise what I learned in the Django Polls tutorial, and take the tutorial...

Python -m (and other command line switches)

In the process of learning Django, I encountered the following instruction pretty much on the first page of the Django tutorial: python -m django --version I became interested in what the “-m” meant and then in what all the available python command line...

django-admin runserver vs manage.py runserver

You should use manage.py, as manage.py is actually a wrapper around django-admin. Manage.py provides additional functionality to handle things like setting DJANGO_SETTINGS_MODULE environment variable, and putting the project package onto the sys.path. More information...

Pin It on Pinterest