mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-12 23:05:12 +00:00
16 lines
343 B
Python
16 lines
343 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
from .compat import LEGACY_AUTO_DISCOVER
|
|
|
|
if LEGACY_AUTO_DISCOVER:
|
|
# Auto-discovery is now handled by the app configuration
|
|
from . import registry
|
|
|
|
registry.autodiscover()
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^(?P<lookup_name>[-\w]+)/$', views.get_lookup, name="selectable-lookup"),
|
|
]
|