Polling app
- Create a directory and cd into it
$ mkdir myapp
$ cd myapp
- Clone this repository
$ git clone "https://github.com/SharathKumarK06/pollapp"
- Create a virtual environment and install dependencies
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r pollapp/requirements.txt
- Add app into project: Add
pollsapp.apps.PollsappConfig
intoINSTALLED_APPS
list insettings.py
file in project directorymyapp
...
INSTALLED_APPS = [
'pollsapp.apps.PollsappConfig',
...
- Run the app
python manage.py runserver