added venue in list events template .
--- a/reg/events.py Thu Apr 15 19:53:52 2010 +0530
+++ b/reg/events.py Thu Apr 15 22:59:45 2010 +0530
@@ -61,7 +61,6 @@
print message
send_mail(subject, message, "admin@fossee.in", [user.email])
-
def create_event(title, description, start_date, stop_date, venue, created_by=None):
""" make an event and save it.
"""
--- a/templates/list_events.html Thu Apr 15 19:53:52 2010 +0530
+++ b/templates/list_events.html Thu Apr 15 22:59:45 2010 +0530
@@ -5,7 +5,7 @@
<table cellspacing=5 cellpadding=5>
{% for event in ongoing_events %}
<tr>
- <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
+ <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
</tr>
{% endfor %}
@@ -17,7 +17,7 @@
<table cellspacing=5 cellpadding=5>
{% for event in upcoming_events %}
<tr>
- <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
+ <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
</tr>
{% endfor %}
@@ -31,7 +31,7 @@
<table cellspacing=5 cellpadding=5>
{% for event in previous_events %}
<tr>
- <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
+ <td align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
</tr>
{% endfor %}