My not sync

I have a project which has 2 app inside. One is interface and the other is users. The of the project and the app(interface) works. But the in users does not seem to work if i include any path in it.
Within my in users:

from .views import RegisterAPI
from django.urls import path

urlpatterns = [
    path('api/register/', RegisterAPI.as_view(), name='register'),

Within the of installed apps:


did you include urls of this app in to your main app’s urls?

What do you mean by “does not seem to work”? Please let us know what you’re seeing and what you’re doing to cause that result. You may also want to check show_urls from the django_extensions library.

I just looked over my in the project. Is it something like this path('', include('interface.urls')), that is causing the issue? As I realize there is no such line of path('', include('users.urls')),

Yup this is the issue. Thanks for spotting it.

Thanks for attempting to help me to resolve the problem but I had just fixed it as @azazellooo pointed out the part

1 Like