Changeset 3400018 for asadb/forms


Ignore:
Timestamp:
Jun 6, 2010, 6:21:30 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
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)
Message:

Use traditional slides

Location:
asadb/forms
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/models.py

    r8654bd0 r3400018  
    1414    year = models.IntegerField()
    1515    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>""")
    1717    contact_email = models.EmailField(help_text="Give an address for students interested in joining the group to email (e.g., an officers list)")
    1818    description = models.TextField(help_text="Explain in about three or four sentences what your group does and why incoming freshmen should get involved.")
    1919    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.")
    2021    tags = models.CharField(max_length=100, blank=True, help_text="Specify some free-form, comma-delimited tags for your group", )
    2122    categories = models.ManyToManyField('FYSMCategory', blank=True, help_text="Put your group into whichever of our categories seem applicable.", )
  • asadb/forms/views.py

    r00e16ed r3400018  
    139139            'description',
    140140            'logo',
     141            'slide',
    141142            'tags',
    142143            'categories',
Note: See TracChangeset for help on using the changeset viewer.