def get_urls(self):
        from django.conf.urls.defaults import patterns, url

        def wrap(view):
            def wrapper(*args, **kwargs):
                return self.admin_site.admin_view(view)(*args, **kwargs)
            return update_wrapper(wrapper, view)

        info = self.model._meta.app_label, self.model._meta.module_name

        urlpatterns = patterns('',
            url(r'foreignkey_autocomplete/$',
                wrap(self.foreignkey_autocomplete),
                name=info % '%s_%s_autocomplete'),
        ) + super(ForeignKeyAutocompleteAdmin, self).get_urls()
        return urlpatterns
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-extensions/build/lib/django_extensions/admin/__init__.py/ForeignKeyAutocompleteAdmin.get_urls/swapped operands of `%`