Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #137 -- thanks nesh@studioquattro.co.yu

git-svn-id: http://code.djangoproject.com/svn/django/trunk@268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6b514f1aab919fe847095f0f02c33b08d2023a0b 1 parent e1d21e5
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/date_based.py
2  django/views/generic/date_based.py
View
@@ -188,7 +188,7 @@ def object_detail(request, year, month, day, app_label, module_name, date_field,
the object to be detailed
"""
try:
- date = datetime.date(*time.strptime(year+month+day, '%Y%b%d')[:3])
+ date = datetime.datetime(*time.strptime(year+month+day, '%Y%b%d')[:3])
except ValueError:
raise Http404
mod = get_module(app_label, module_name)
Please sign in to comment.
Something went wrong with that request. Please try again.