Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
keegan committed Mar 13, 2019
1 parent d4bd8be commit e7ae585
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tjhsst/apps/clubs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# Create your models here.
class Clubs(models.Model):
name = models.CharField(max_length=100, primary_key = True)
image = models.ImageField(upload_to = "club_photos/")
image = models.ImageField(upload_to = "club_photos/", height_field = height, width_field = width)
description = models.CharField(max_length=5000)
link = models.CharField(max_length=200, blank = True, height_field = height, width_field = width)

width = models.IntegerField()
height = models.IntegerField()

link = models.CharField(max_length=200, blank = True)

0 comments on commit e7ae585

Please sign in to comment.