Ticket #10599: patch.diff

File patch.diff, 555 bytes (added by nishio, 16 years ago)

patch

  • django/template/defaulttags.py

     
    371371        try:
    372372            url = reverse(self.view_name, args=args, kwargs=kwargs)
    373373        except NoReverseMatch:
     374            if "." not in settings.SETTINGS_MODULE: raise
    374375            project_name = settings.SETTINGS_MODULE.split('.')[0]
    375376            try:
    376377                url = reverse(project_name + '.' + self.view_name,
Back to Top