Skip to content

osscda/python-actions-django

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Polls Application

About

The Django sample polls application, from Writing your first Django app for Django version 2.2.

Getting Started

Create a Python 3 virtual environment, and activate it.

$ python3 -m venv env
$ source env/bin/activate

Install requirements.

(env)$ python -m pip install -r requirements.txt

Run migrations, and load initial data from fixtures.

(env)$ python manage.py migrate
(env)$ python manage.py loaddata polls/fixtures/initial_data.json

Note: the admin username is admin, password is [email protected]

Configuration

Settings are automatically picked up from a .env file in the root directory if one is present.

Otherwise, the DATABASE_URL environment variable will be used to configure the database to connect to.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.8%
  • HTML 8.1%
  • CSS 0.1%