Commit f7835183 authored by EASHAN GUPTA's avatar EASHAN GUPTA

some changes

parent 4d10f2c9
...@@ -25,6 +25,7 @@ class Choice(models.Model): ...@@ -25,6 +25,7 @@ class Choice(models.Model):
choice_name = models.CharField(max_length=200) choice_name = models.CharField(max_length=200)
institute=models.ForeignKey(Institute, on_delete=models.CASCADE, related_name='choices') institute=models.ForeignKey(Institute, on_delete=models.CASCADE, related_name='choices')
capacity = models.IntegerField() capacity = models.IntegerField()
seats_left=models.IntegerField(default=0)
def __str__(self): def __str__(self):
return self.choice_name return self.choice_name
......
No preview for this file type
...@@ -35,7 +35,9 @@ ...@@ -35,7 +35,9 @@
</div> </div>
<div class="tool4" style="margin-top: 5px; text-align: center; font-size: 50px; color:white"> <div class="tool4" style="margin-top: 5px; text-align: center; font-size: 50px; color:white">
<a href="/allocation/register">
Register with us Register with us
</a>
</div> </div>
......
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