Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stdevteam/django_demo_app
https://github.com/stdevteam/django_demo_app
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stdevteam/django_demo_app
- Owner: stdevteam
- Created: 2019-08-26T08:35:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T22:08:46.000Z (over 2 years ago)
- Last Synced: 2023-04-05T10:00:44.942Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Setup
Use `Python 3` for back-end.
All the requirements are described in `requirements.txt`.
Initial requirements include:
- [Django](https://docs.djangoproject.com/en/2.2/) as the base framework
The application uses SQLite for the database by default.
Migrate the database before the first run:
python manage.py migrate
Create a superuser:
python manage.py createsuperuser
Load initial data for projects:
python manage.py loaddata apps/main/fixtures/initial.json
### Running the application
python manage.py runserver
The application should be visible at `127.0.0.1:8000` after that.
In our initial data we have created 2 users user1 and user2, password for both is "test"
now you can check that user1 (which belongs to group1) has access to view1 only, and user2 has access to view2 only