Author: floguy
Date: Sun Sep 7 16:00:30 2008
New Revision: 10
Modified:
trunk/things/options.py
trunk/thingsproject/urls.py
Log:
Another template name change.
Modified: trunk/things/options.py
==============================================================================
--- trunk/things/options.py (original)
+++ trunk/things/options.py Sun Sep 7 16:00:30 2008
@@ -83,7 +83,7 @@
template_name = self.opts.module_name
obj = get_object_or_404(self.model, pk=pk)
templates = ['things/%s_detail.html' % (template_name,),
- 'things/thing_detail.html']
+ 'things/detail.html']
t = select_template(templates)
c = RequestContext(request, {
template_object_name: obj,
Modified: trunk/thingsproject/urls.py
==============================================================================
--- trunk/thingsproject/urls.py (original)
+++ trunk/thingsproject/urls.py Sun Sep 7 16:00:30 2008
@@ -3,11 +3,8 @@
import things
admin.autodiscover()
+things.autodiscover()
urlpatterns = patterns('',
(r'^admin/(.*)$', admin.site.root),
-)
-
-things.autodiscover()
-
-urlpatterns += things.site.urls()
\ No newline at end of file
+) + things.site.urls()
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---