mmcardle / django_builder

Django Builder Site
MIT License
607 stars 125 forks source link

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

Closed dgleba closed 1 year ago

dgleba commented 1 year ago

This issue is similar, but I am not sure if it is the same as https://github.com/mmcardle/django_builder/issues/178. So I create a new issue here.

1.

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

2.

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

3. then I got this page. image

4. Thoughts?

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

mmcardle commented 1 year ago

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

dgleba commented 1 year ago

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