class CrearClienti(CreateView):
template_name = 'clienti.html'
form_class = RegCliModelForm
success_url = reverse_lazy('clienti:crear_clienti')
I get this error
'clienti' is not a registered namespace
I'm trying to work with manners: this is the url
<div class="col-lg-10">
<a onclick="return abrir_modal('{% url 'clienti:crear_clienti' %}')" class="btn btn-primary">Crear</a>
</div>
Addition: this is my code in urls.py
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^clienti/$', ListadoClienti.as_view(), name="Listado_Clienti"),
url(r'^nuevo/$', CrearClienti.as_view(), name="crear_Clienti"),
Thanks for the help