Get creation of a text file working
[txt.house] / txt_house / urls.py
index ecefff9..a58345d 100644 (file)
@@ -16,6 +16,11 @@ Including another URLconf
 from django.contrib import admin
 from django.urls import path
 
+from . import views
+
 urlpatterns = [
     path('admin/', admin.site.urls),
+    path('', views.index, name='index'),
+    path('create', views.create, name='create'),
+    path('t/<str:pk>', views.text_file, name='text-file'),
 ]