Added urls file On Tuesday, 13 March 2018 10:40:29 UTC-4, Derek wrote: > > Maybe you need to show what your urls.py looks like as well? > > On Tuesday, 13 March 2018 05:57:55 UTC+2, Carl Brubaker wrote: >> >> I'm probably missing something simple, but I can't get my info to display >> from my database. >> >> I have 2 abstract models to make 1 normal model. >> My url views aren't giving me errors, the web browser finds them. >> My variables aren't correct(I can only assume). >> >> Thanks! >> >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5883a41e-99e0-4f6b-86cd-2d519dd7abf4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
from django.urls import path from . import views urlpatterns = [ path('', views.contacts, name='index'), path('create/', views.contact_create, name='create'), path('<int:entry>/', views.contact_detail, name='detail'), path('<int:entry>/update/', views.contact_update, name='update'), ]