#11480: Small typo in The Django admin site documentation ----------------------------------------+----------------------------------- Reporter: msgre <mic...@plovarna.cz> | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: modeladmin typo | Stage: Unreviewed Has_patch: 0 | ----------------------------------------+----------------------------------- Hello, there is a small typo at get_urls chapter (http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_urls). This example isn't displayed as code (in green box):
{{{ class MyModelAdmin(admin.ModelAdmin): def get_urls(self): urls = super(MyModelAdmin, self).get_urls() my_urls = patterns('', (r'^my_view/$', self.admin_site.admin_view(self.my_view)) ) return my_urls + urls }}} -- Ticket URL: <http://code.djangoproject.com/ticket/11480> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---