Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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