My IDE highlights this line:
<form class="edit-form" action="{% url '/mathdata/publish/' %}"
method="post">
and it has something to do with the url. I've tried mathdata:publish as
well. My mathdata/urls.py is:
urlpatterns = [
path('<int:proof_id>/', views.proof, name='proof'),
path('content-edit/<str:content_type>/', views.content_edit),
path('publish/', views.publish, name='publish')
]
So I'm not getting why it doesn't work.
Thank you!
--
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 [email protected].
To post to this group, send email to [email protected].
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/82124a02-c7d6-4253-bd27-f7a51b61976d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.