from datetime import date
from django.shortcuts import render_to_response

def month (request, year, month):
  month = date(int(year), int(month), 1)

  return render_to_response('events/event_archive_month.html', {'month': month})

@@ -18,16 +18,27 @@
 ort date
+, timedelta
 %0Afrom dj
@@ -153,16 +153,92 @@
 nth), 1)
+%0A  previous = month - timedelta(days=15)%0A  next = month + timedelta(days=45)
 %0A%0A  retu
@@ -295,16 +295,21 @@
 html', %7B
+%0A    
 'month':
@@ -314,11 +314,73 @@
 ': month
+,%0A    'previous_month': previous,%0A    'next_month': next,%0A    
 %7D)%0A

Add links to previous and next month