Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
project_questboard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Aedin Hunter A. Clay
project_questboard
Commits
4c7b6597
Commit
4c7b6597
authored
Apr 10, 2021
by
Aedin Hunter A. Clay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final changes to readme; made edit board description a textarea
parent
fbc9bda6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
forms.py
board/forms.py
+2
-2
readme.txt
readme.txt
+23
-1
No files found.
board/forms.py
View file @
4c7b6597
...
...
@@ -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
())
...
...
readme.txt
View file @
4c7b6597
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!
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment