mmcardle/django_builder

NoReverseMatch at /htmx/ Reverse for 'app_Categorytbl_htmx_create' not found.

Closed this issue · 2 comments

dgleba commented

This issue is similar, but I am not sure if it is the same as #178. So I create a new issue here.

The builder created this in templates / htmx / htmx.html:

image

To get it to work, I edited it like this:
blogapp is the name of my app. I changed app_ to blogapp_. Refer to picture just below.

image

This then matches the path in urls.py.
image

I also changed blogapp / htmx.py . I added blog in front of app_...
image

then I got this page.
image

Thoughts?

Attached full error message:
error.htmx.2023-03-17_Fri_22.35-PM.txt

This issue should now be fixed and deployed to djangobuilder.io

dgleba commented

Thanks for the update.

I see the changes in htmx.html.

I still see app_ in blogapp / htmx.py

I haven't tried it yet, but should it be blogapp_?

2023-03-19 09_24_40-Django Builder