Changeset 3400018 for asadb/forms
- Timestamp:
- Jun 6, 2010, 6:21:30 AM (16 years ago)
- Branches:
- master, fysm-4-1, space-access, stable, stage, test-hooks
- Children:
- 2eefd9f
- Parents:
- 8654bd0
- git-author:
- Alex Dehnert <adehnert@…> (06/06/10 06:09:27)
- git-committer:
- Alex Dehnert <adehnert@…> (06/06/10 06:21:30)
- Location:
- asadb/forms
- Files:
-
- 1 added
- 2 edited
-
migrations/0003_add-slide.py (added)
-
models.py (modified) (1 diff)
-
views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/models.py
r8654bd0 r3400018 14 14 year = models.IntegerField() 15 15 website = models.URLField() 16 join_url = models.URLField(help_text=" <p>If you have a specific web page for students interested in joining your group, you can link to it here. If you want, this can be a single image, similar to slides in previous years. You can also make it a video, interactive content, or whatever other creative material you can think of.</p><p>An image of the page will be snapshotted daily, and displayed on your group's FYSM detail page. It should first update sometime in the fifteen minutes after you first submit.</p>")16 join_url = models.URLField(help_text="""<p>If you have a specific web page for students interested in joining your group, you can link to it here. It will be used as the destination for most links about your group (join link on the main listing page and when clicking on the slide, but not the "website" link on the slide page). If you do not have such a page, use your main website's URL.</p>""") 17 17 contact_email = models.EmailField(help_text="Give an address for students interested in joining the group to email (e.g., an officers list)") 18 18 description = models.TextField(help_text="Explain in about three or four sentences what your group does and why incoming freshmen should get involved.") 19 19 logo = models.ImageField(upload_to='fysm/logos', blank=True, ) 20 slide = models.ImageField(upload_to='fysm/slides', default="", help_text="Upload a slide to display on the group detail page. This will be scaled to be at most 600x600 pixels. We recommend making it exactly that size.") 20 21 tags = models.CharField(max_length=100, blank=True, help_text="Specify some free-form, comma-delimited tags for your group", ) 21 22 categories = models.ManyToManyField('FYSMCategory', blank=True, help_text="Put your group into whichever of our categories seem applicable.", ) -
asadb/forms/views.py
r00e16ed r3400018 139 139 'description', 140 140 'logo', 141 'slide', 141 142 'tags', 142 143 'categories',
Note: See TracChangeset
for help on using the changeset viewer.