Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alina1412/survey_django
A django application for surveys, which allows users to create surveys and answer surverys of other users.
https://github.com/alina1412/survey_django
django heroku-deployment python sql
Last synced: about 2 months ago
JSON representation
A django application for surveys, which allows users to create surveys and answer surverys of other users.
- Host: GitHub
- URL: https://github.com/alina1412/survey_django
- Owner: alina1412
- Created: 2022-07-17T08:04:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T04:18:30.000Z (about 2 years ago)
- Last Synced: 2023-03-11T07:06:31.388Z (almost 2 years ago)
- Topics: django, heroku-deployment, python, sql
- Language: Python
- Homepage:
- Size: 981 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Survey app (django)
## Description
It's a django web-application. The site allows user to create surveys and answer surverys of other users.The site is/(was) deployed here: https://survey-django-app.herokuapp.com/survey/home/
## How it worked (from the frontend look)
video:
[![Watch the video](https://img.youtube.com/vi/YyxVe2knm9k/1.jpg)](https://youtu.be/YyxVe2knm9k)
## Structure
The app can use `sqlite` or `postgres` database, it keeps data in tables: Survey, Question, Choice, Answer with models for each of them.
For keeping Users it takes a model from django.contrib.auth.models.### Models
### Tables
picture of some tables (except of a default django tables, auth_user - is a default one)
### Structure tree
```
survey_django/
|
|
```
```
| .env
| .env-example
| .gitignore
| .pylintrc
| docker-compose.yml
| Makefile
| manage.py
| poetry.lock
| Procfile
| pyproject.toml
| pytest.ini
| README.md
| requirements.txt
| runtime.txt
|
|
+---static
| | __init__.py
| |
| +---css
| | styles.css
| |
| +---images
| | favicon.ico
| | results-example.jpg
| | survey-detail-example.jpg
| | your-list-example.jpg
| |
| \---templates
| add_template.html
| answer.html
| base.html
| home.html
| login.html
| messages.html
| queston_detail.html
| register.html
| results.html
| surveys_list.html
| surveys_to_pass_list.html
| survey_detail.html
|
+---survey_app
| | admin.py
| | apps.py
| | crud.py
| | download.py
| | forms.py
| | models.py
| | urls.py
| | __init__.py
| |
| +---migrations
| | 0001_initial.py
| | __init__.py
| |
| +---tests
| | conftest.py
| | tests.py
| | test_urls.py
| | utils.py
| |
| \---views
| utils.py
| views.py
| views_choices_answers.py
| views_questions.py
| views_survey.py
| view_mixin.py
|
\---survey_project
asgi.py
settings.py
tests.py
urls.py
wsgi.py
__init__.py
```
## Example of pages