Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joncinque/django_form
Playing around with django forms
https://github.com/joncinque/django_form
Last synced: 11 days ago
JSON representation
Playing around with django forms
- Host: GitHub
- URL: https://github.com/joncinque/django_form
- Owner: joncinque
- License: mit
- Created: 2020-03-24T14:10:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T14:05:37.000Z (about 1 month ago)
- Last Synced: 2024-10-12T01:29:38.879Z (about 1 month ago)
- Language: Python
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django_form
Playing around with django forms## Prereqs (Debian / Ubuntu)
```bash
sudo apt install python3 python3-venv python3-pip
```## Requirements
```bash
python3 -m venv venv
./venv/bin/pip3 install -r requirements.txt
```## Django setup
```bash
./venv/bin/python3 manage.py migrate
./venv/bin/python3 manage.py createsuperuser
./venv/bin/python3 manage.py runserver
```## Create new from autocomplete
To create a new entry from an autocomplete, you need to have the proper,
permissions, which requires logging in.* Go to the [admin page](http://127.0.0.1:8000/admin/)
* Login as the super user## Create new models
* Go to the [encounters page](http://127.0.0.1:8000/encounters/)
* Try all of the models