Closed mfoulds closed 23 hours ago
Neapolitan's reversing doesn't currently work with namespaced URLs. See #16.
If you move the urlpatterns += views.ProjectView.get_urls()
to you main URLs file you get the result you're looking for, except without the include
prefix, with you can set by providing .url_base
on your CRUDView
subclass.
I'm going to close as a duplicate.
Hi
I followed the tutorial, but when navigating to the list view, I cannot see the expected View | Edit | Delete options or any button to create a new record.
I added the new model, view and addition to
urlpatterns
in an existing app calledfstp
. Registered the model with admin and added some records via the admin panel.Project's urls.py has:
path("fstp/", include("apps.fstp.urls", namespace="fstp")),
I also created the expected
base.html
in my projectstemplates/neapolitan/base.html
:When I navigate to
localhost:8000/fstp/project/
I just see the table data