imagestore added
This commit is contained in:
parent
08d11bd01a
commit
74ab5043d0
|
@ -191,6 +191,8 @@ class Relation(models.Model):
|
||||||
|
|
||||||
|
|
||||||
class Training(models.Model):
|
class Training(models.Model):
|
||||||
|
# title = models.CharField(max_length=255)
|
||||||
|
# desc= models.TextField(max_length=2048)
|
||||||
person = models.ForeignKey("Person")
|
person = models.ForeignKey("Person")
|
||||||
area = models.CharField(max_length=255) # Choices?
|
area = models.CharField(max_length=255) # Choices?
|
||||||
with_whom = models.CharField(max_length=255) # Is this a foreign key to person, or group, or just text field like now?
|
with_whom = models.CharField(max_length=255) # Is this a foreign key to person, or group, or just text field like now?
|
||||||
|
@ -199,6 +201,9 @@ class Training(models.Model):
|
||||||
until_when = models.DateField(blank=True, null=True)
|
until_when = models.DateField(blank=True, null=True)
|
||||||
locations = generic.GenericRelation("Location")
|
locations = generic.GenericRelation("Location")
|
||||||
|
|
||||||
|
#def __unicode__(self):
|
||||||
|
#\ return self.name
|
||||||
|
|
||||||
|
|
||||||
class Play(ItfModel):
|
class Play(ItfModel):
|
||||||
title = models.CharField(max_length=512)
|
title = models.CharField(max_length=512)
|
||||||
|
|
|
@ -191,6 +191,7 @@ INSTALLED_APPS = (
|
||||||
'insidepages',
|
'insidepages',
|
||||||
# 'erang',
|
# 'erang',
|
||||||
# 'erang_organised',
|
# 'erang_organised',
|
||||||
|
'imagestore',
|
||||||
'scriptbank',
|
'scriptbank',
|
||||||
'bestpractices',
|
'bestpractices',
|
||||||
'emailer',
|
'emailer',
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<span class="orange">Nature of Work: </span>
|
<span class="orange">Nature of Work: </span>
|
||||||
<ul>
|
<ul>
|
||||||
{% for work in nature_of_work %}
|
{% for work in nature_of_work %}
|
||||||
<li>{{ work }}</li>
|
<li>{{ work.name }} <br /> {{ work.name }} </li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,3 +23,4 @@ twitter
|
||||||
-e git+git://github.com/pennersr/django-allauth.git#egg=django-allauth
|
-e git+git://github.com/pennersr/django-allauth.git#egg=django-allauth
|
||||||
-e git+git://github.com/pythonforfacebook/facebook-sdk.git#egg=facebook-sdk
|
-e git+git://github.com/pythonforfacebook/facebook-sdk.git#egg=facebook-sdk
|
||||||
django-avatar
|
django-avatar
|
||||||
|
imagestore
|
||||||
|
|
Loading…
Reference in New Issue
Block a user