andytwoods / django_paper_2023

a demo project for a paper introducing django and webdev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Paper 2023, demo project

MIT License

A demo project for this paper ...insert reference when known...

Run Locally

Clone the project

  git clone https://github.com/andytwoods/django_paper_2023

Go to the project directory

  cd django_paper_2023

Create a virtual environment, e.g. via

  python3 -m venv venv

Install dependencies

  pip install -r requirements.txt

Run local server

  python3 manage.py runserver

Lessons

Visit http://127.0.0.1:8000/study/1/ to get the expected error message ("study 1 does not exist")

Make yourself a superuser by following steps asked for in this command

  python3 manage.py createsuperuser

Visit the admin page

http://127.0.0.1:8000/admin/

Here, create a study

Revisit http://127.0.0.1:8000/study/1/. You shoud see the study you created in admin

Acknowledgements

About

a demo project for a paper introducing django and webdev

License:MIT License


Languages

Language:Python 92.2%Language:HTML 7.8%