Skip to content

dataquestio/django-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-playground

This is a small example project to demonstrate default Django project structure. The source files of the project are located under the src directory for better separation from quick-start helpers or Git management.

The project provides an optional helper script to bootstrap Django Admin introduction.

Prerequisites: You need to have Python version 3.8 and later installed in your system. It's advised to create a virtual environment for better package management:

python -m venv ./venv

To get started, activate your virtual environment if it's present:

source venv/bin/activate

Install Django package and launch initialization script:

pip install -r src/requirements.txt
bash init.sh

Then switch to the project directory and start the Django application 🎉

cd src/playground_project
python ./manage.py runserver

You should see a test page under http://localhost:8000

You can use admin/topsecret credentials to access Django admin page under http://localhost:8000/admin/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published