From 98f0013d8b74381606cde5a8a30e8ce47f2dbbf6 Mon Sep 17 00:00:00 2001 From: sanj Date: Sun, 29 Aug 2010 22:38:07 +0530 Subject: [PATCH] changed titles to India Theatre Forum from ITF, and added link to erang --- itf/itfcore/admin.py | 6 +++--- itf/itfcore/models.py | 3 ++- itf/templates/erang.html | 4 +++- itf/templates/home.html | 2 +- itf/templates/meeting.html | 2 +- itf/templates/meetings.html | 2 +- itf/templates/people.html | 2 +- itf/templates/project.html | 2 +- itf/templates/projects.html | 2 +- itf/templates/publications.html | 2 +- itf/templates/resources.html | 2 +- itf/templates/surveys.html | 2 +- 12 files changed, 17 insertions(+), 14 deletions(-) diff --git a/itf/itfcore/admin.py b/itf/itfcore/admin.py index 7f0535f..786ae6a 100755 --- a/itf/itfcore/admin.py +++ b/itf/itfcore/admin.py @@ -1,7 +1,7 @@ from django.contrib import admin from django.contrib.auth.models import User from models import * - +''' #class NicknameInline(admin.StackedInline): # model = Nickname # extra = 3 @@ -14,7 +14,7 @@ from models import * # extra = 3 class ProfileInline(admin.StackedInline): - model = Profile + model = Person extra = 1 class PerformanceAdmin(admin.ModelAdmin): @@ -64,4 +64,4 @@ admin.site.register(Nickname) admin.site.register(TheatreGroup, TheatreGroupAdmin) admin.site.register(Venue, VenueAdmin) admin.site.register(Profile, ProfileAdmin) - +''' diff --git a/itf/itfcore/models.py b/itf/itfcore/models.py index c23d923..19b6b9e 100644 --- a/itf/itfcore/models.py +++ b/itf/itfcore/models.py @@ -7,6 +7,7 @@ from oxdjango.fields import DictField GENDER_CHOICES = ( ('M', 'Male'), ('F', 'Female'), + ('O', 'Other'), ) class Person(models.Model): @@ -55,7 +56,7 @@ class PhotoAlbum(models.Model): class Photo(models.Model): image = models.ImageField(upload_to='photos/') # PLEASE CHANGE UPLOAD_TO TO A FUNCTION THAT RETURNS A SANE FOLDER NAME AND CREATES IT. caption = models.TextField(blank=True) - exif = DictField(blank=True) + exif = models.TextField(blank=True) album = models.ForeignKey("PhotoAlbum") class Occupation(models.Model): diff --git a/itf/templates/erang.html b/itf/templates/erang.html index fd13680..05f15ea 100644 --- a/itf/templates/erang.html +++ b/itf/templates/erang.html @@ -1,6 +1,6 @@ {% extends 'festival_wireframe.html' %} {% block title %} - ITF - eRang + India Theatre Forum - eRang {% endblock %} {% block leftCol %}