Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
General_Allocation_Portal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
codemafia
General_Allocation_Portal
Commits
f7835183
Commit
f7835183
authored
Oct 25, 2017
by
EASHAN GUPTA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some changes
parent
4d10f2c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
project/allocation/__pycache__/models.cpython-35.pyc
project/allocation/__pycache__/models.cpython-35.pyc
+0
-0
project/allocation/models.py
project/allocation/models.py
+1
-0
project/db.sqlite3
project/db.sqlite3
+0
-0
project/templates/core/home_page.html
project/templates/core/home_page.html
+4
-2
No files found.
project/allocation/__pycache__/models.cpython-35.pyc
View file @
f7835183
No preview for this file type
project/allocation/models.py
View file @
f7835183
...
...
@@ -25,6 +25,7 @@ class Choice(models.Model):
choice_name
=
models
.
CharField
(
max_length
=
200
)
institute
=
models
.
ForeignKey
(
Institute
,
on_delete
=
models
.
CASCADE
,
related_name
=
'choices'
)
capacity
=
models
.
IntegerField
()
seats_left
=
models
.
IntegerField
(
default
=
0
)
def
__str__
(
self
):
return
self
.
choice_name
...
...
project/db.sqlite3
View file @
f7835183
No preview for this file type
project/templates/core/home_page.html
View file @
f7835183
...
...
@@ -35,10 +35,12 @@
</div>
<div
class=
"tool4"
style=
"margin-top: 5px; text-align: center; font-size: 50px; color:white"
>
Register with us
<a
href=
"/allocation/register"
>
Register with us
</a>
</div>
</body>
</html>
\ No newline at end of file
</html>
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