Commit 4c7b6597 authored by Aedin Hunter A. Clay's avatar Aedin Hunter A. Clay

final changes to readme; made edit board description a textarea

parent fbc9bda6
......@@ -21,7 +21,7 @@ class QuestForm(forms.ModelForm):
'student2' : forms.HiddenInput(),
'student3' : forms.HiddenInput(),
}
#Form for signing up to quests
class StudentSignupForm(forms.Form):
quest_id = forms.IntegerField(widget = forms.HiddenInput())
......@@ -39,7 +39,7 @@ class EditBoardNameForm(forms.Form):
class EditBoardDescForm(forms.Form):
board_id = forms.IntegerField(widget = forms.HiddenInput())
description = forms.CharField(max_length = 300)
description = forms.CharField(max_length = 300, widget = forms.Textarea())
class EditBoardStarsForm(forms.Form):
board_id = forms.IntegerField(widget = forms.HiddenInput())
......
For the postgres database:
QUESTBOARD!
implemented by Aedin Clay
In this website, teachers can create questboards.
In a questboard, different tasks are posted. These tasks give a certain number of stars.
Each questboard has a required number of stars.
****************************************************************************************
To get the website to run, please install recent versions of python and django.
This website uses a postgres database.
Please create a .env with the following variables:
DB_NAME : name of the database to use
DB_USER : username of postgres account
DB_PASS : password of postgres account
****************************************************************************************
The project is structured into three different apps.
project_questboard is the main app, containing the settings files and urls to other apps.
homepage displays the website's homepage, where questboards can be viewed and made.
board displays individual questboards, whether in edit mode (teacher) or view mode (student).env
the static folder contains css and images.
the templates folder contains html files using the django template language.
Thank you for using Questboard!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment