~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject.py

  • Committer: Matt Giuca
  • Date: 2010-02-25 06:25:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1731.
  • Revision ID: matt.giuca@gmail.com-20100225062531-gz255bkqh1gxxwd5
ProjectNew view: Convert URLs to Unicode. This would previously break if a URL was entered.

Show diffs side-by-side

added added

removed removed

Lines of Context:
814
814
        new_project.name = data['name']
815
815
        new_project.short_name = data['short_name']
816
816
        new_project.deadline = data['deadline']
817
 
        new_project.url = data['url']
 
817
        new_project.url = unicode(data['url']) if data['url'] else None
818
818
        new_project.synopsis = data['synopsis']
819
819
        req.store.add(new_project)
820
820
        return new_project