Try this Modify your urls.py file with
path('<slug:taskname>/', TaskDetailView.as_view(), name='detail'), On Mon, Jul 16, 2018 at 5:47 PM, Jason <jjohns98...@gmail.com> wrote: > you need to provide some value in the URL to match to an instance. Detail > views say "I have this URL to a specific identifier, show the content of > it" You're passing in everything *but* that identifier, so django > doesn't know how to handle it and throws an error. > > -- > 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/133bb0c0-6a1d-4bee-9137-ed0d12289def%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/133bb0c0-6a1d-4bee-9137-ed0d12289def%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJ288WVfe-_Zo_kV8QsDDEN2r8kztFVtpqLtobVc3V7fjti29g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.