-from django.conf.urls import url
-from fnpdjango.utils.urls import i18n_patterns
+from django.urls import path
+from django.contrib import admin
from . import views
urlpatterns = [
- url(r'^ip/$', views.ip),
-] + i18n_patterns(
- url(r'^$', views.get_lang),
-)
+ path('admin/', admin.site.urls),
+ path('ip/', views.ip),
+]