jonasfroeller / Django_PollsApp

A simple django app to create polls. Technologies: HTML, CSS, Python, Django, SQlite, Bootstrap

Home Page:https://django-polls-app.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polls App

A simple polls app built with django.

Tech

Useful Commands

py manage.py runserver // run server
python manage.py test polls // run tests
python -m pip install <dependency> // install dependencies

python manage.py makemigrations <app_name> // create migrations
python manage.py migrate // apply changes
python manage.py sqlmigrate <app_name> <number> // view migration
python manage.py check // check for issues
py manage.py check --deploy // check for security issues python manage.py shell // open python shell (exit() to close)

Environment Variables

Set them in .env or like so: set "SECRET_KEY=<key>" && set IS_PRODUCTION_ENVIRONMENT=true (Windows) ||
export SECRET_KEY='<key>' IS_PRODUCTION_ENVIRONMENT=true (Linux)

About

A simple django app to create polls. Technologies: HTML, CSS, Python, Django, SQlite, Bootstrap

https://django-polls-app.vercel.app


Languages

Language:Python 74.4%Language:HTML 25.4%Language:CSS 0.2%