URL Not Found output

Hello.

I have the system functional on a server but it is not working for me on localhost. The only thing I have done is reinstall the operating system.

The output is:

Not Found: /registro/

url.py

from django.conf.urls import url
from django.contrib import admin
from django.urls import path
from callserviceapp.views import Buscar, addRubro, agregarFotoOrden, askPersonalInfo, cambiarEstadoOrden, chatMensaje, chatSinLeer, chatVer, completeInfo, completeInfoRubros, consultarOrdenParticular, consultarOrdenes, consultarTodasLasOrdenes, consultarTodasLasOrdenesCanceladas, consultarTodasLasOrdenesCurso, consultarTodasLasOrdenesFinalizadas, datosCliente, datosProveedor, deleteRubro, finalizarOrdenCliente, finalizarOrdenProveedor, homeCliente, homeClientePedirDatos, login, masInfoOrdenCliente, masInfoOrdenProveedor, modificarRubro, nuevaInfoPersonal, pedirOrdenEmergencia, pedirOrdenGeneral, presupuestoCliente, presupuestoProveedor, proveedorUbicacion,register, requestRubros, restarPassword, setNewPassword, verReseñas

from django.conf import settings
from django.conf.urls.static import static


urlpatterns = [
    # ... the rest of your URLconf goes here ...
    path('admin/', admin.site.urls),

    path('home/cliente/<lat>/<long>', homeCliente),
   
    path('registro', register),

] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

and views.py

@csrf_exempt 
def register (request, type, email, password):
    if request.method == 'POST': 

        type=request.POST.get("tipo")
        email=request.POST.get("email")
        password =request.POST.get("password")

      #Some code,,,,

What can be missing? Because I haven’t changed anything.

Your path doesn’t have the trailing slash - but the url you say you used:

Has the trailing slash.

Try adding the slash to your path definition.