Added selected talks list.
--- a/project/kiwipycon/talk/views.py Wed Dec 09 22:29:44 2009 +0530
+++ b/project/kiwipycon/talk/views.py Wed Dec 09 22:57:33 2009 +0530
@@ -182,13 +182,11 @@
'login_form' : login_form
}))
-@login_required
-def list_talks(request, id, template_name='talk/list-talks.html'):
+def list_talks(request, template_name='talk/list-all-talks.html'):
'''List all the tasks submitted by a user.
'''
- speaker = User.objects.get(pk=id)
- talks = Talk.objects.filter(speaker=speaker)
+ talks = Talk.objects.filter(approved=True)
return render_to_response(template_name, RequestContext(request, {
'talk_list': talks,
--- a/project/templates/about/reaching.html Wed Dec 09 22:29:44 2009 +0530
+++ b/project/templates/about/reaching.html Wed Dec 09 22:57:33 2009 +0530
@@ -1,22 +1,22 @@
{% extends "base.html" %}
{% block content %}
<h1>How to reach the venue?</h1>
-<p>Once you reach Trivandrum Central Station, you can reach Technopark by
+<p class="noindent">Once you reach Trivandrum Central Station, you can reach Technopark by
bus, taxi or an autorickshaw.</p>
-<p>To take a bus to Technopark, you need to go to the Thampanoor bus stand
+<p class="noindent">To take a bus to Technopark, you need to go to the Thampanoor bus stand
located opposite to the Trivandrum central railway station and board a bus
that leaves for Kollam. The ticket costs you about Rs.20. You must get
down at Kazhakuttam stop. From there you must hire an autorickshaw to
Technopark. Auto fare to Technopark is between Rs.10-15.</p>
-<p>Air conditioned volvo buses to Technopark are available from East fort
+<p class="noindent">Air conditioned volvo buses to Technopark are available from East fort
which is approximately 1km from Trivandrum Central Railway Station.</p>
-<p>Timings of KSRTC volvo A/C buses from East fort that reaches Technopark
+<p class="noindent">Timings of KSRTC volvo A/C buses from East fort that reaches Technopark
are at:</p>
-<p>
+<p class="noindent">
<table class="kiwipycon-default">
<tr><th>From East fort</th><th>Reaches Technopark at</th></tr>
<tr><td>6:00AM</td><td>6:40AM</td></tr>
@@ -27,15 +27,15 @@
</table>
</p>
-<p>You can also take a taxi to Technopark from outside the Thampanoor central
+<p class="noindent">You can also take a taxi to Technopark from outside the Thampanoor central
railway station. Taxi fare is about Rs 350.</p>
-<p>You can even take an autorickshaw to Technopark from the the prepaid
+<p class="noindent">You can even take an autorickshaw to Technopark from the the prepaid
autorickshaw stand infront of Trivandrum central railway station. Prepaid
auto fare to technopark is about Rs.125 upto the front gate of technopark
and about Rs.25 more to the campus.</p>
-<p>From Thiruvananthapuram Airport, you can take a a taxi to Technopark
+<p class="noindent">From Thiruvananthapuram Airport, you can take a a taxi to Technopark
which will cost about Rs 300. Taking an auto to technopark costs about
Rs 200.</p>
{% endblock content %}
\ No newline at end of file