Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

How to build a barebones Django 2.1 app using generic views. A very clean, minimal and simple example of a website that displays individual Movies. This is the perfect starting point for any new Django 2.1 apps using proper PEP8 standards in regards to Views, Templates, URLs and Models.

Notifications You must be signed in to change notification settings

MattA9K/Django-2-Ultra-Simple-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django 2.1 Ultra Simple Example

Matt Andrzejczuk

Use this minimalist project as a cheatsheet for any new Django 2.1 project you'd like to create. All code is kept to a bare minimum to implement a movie list application.

Getting Started

I. For a fresh Ubuntu installation, get Python3 all setup and ready to go:

sudo apt-get update && sudo apt-get install -y \
		build-essential git \
		python3 python3-dev python3-setuptools \
		nginx supervisor \
		postgresql-client libpq-dev \
		sqlite3 libjpeg62-turbo-dev \
		python3-pip \
		software-properties-common python3-software-properties
		
sudo apt install -y virtualenv python3-venv

II. Get your project ready:

git clone https://github.com/MattAndrzejczuk/Django-2-Ultra-Simple-Example.git
cd Django-2-Ultra-Simple-Example
python3 -m venv env

III. Download Dependencies

source ./env/bin/activate
pip install -r requirements.txt

IV. Run Server

./manage.py createsuperuser
./manage.py runserver
App Main Page:

http://127.0.0.1:8000/

Edit Content For Main Page:

http://127.0.0.1:8000/admin

About

How to build a barebones Django 2.1 app using generic views. A very clean, minimal and simple example of a website that displays individual Movies. This is the perfect starting point for any new Django 2.1 apps using proper PEP8 standards in regards to Views, Templates, URLs and Models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published