Example #1
0
from django.conf.urls import patterns, url
from contactos.views import ContactoUpdateView, ContactCreateView

urlpatterns = patterns('',
    url(r'^contacto/update/(?P<pk>[-\d]+)/?$',
        ContactoUpdateView.as_view(),
        name='contact_value_update'),
    url(r'^(?P<pk>[-\d]+)/(?P<person_pk>[-\d]+)/contacto/create/?$',
        ContactCreateView.as_view(),
        name='create-new-contact'),
)
Example #2
0
from django.conf.urls import patterns, url
from contactos.views import ContactoUpdateView, ContactCreateView

urlpatterns = patterns(
    '',
    url(r'^contacto/update/(?P<pk>[-\d]+)/?$',
        ContactoUpdateView.as_view(),
        name='contact_value_update'),
    url(r'^(?P<pk>[-\d]+)/(?P<person_pk>[-\d]+)/contacto/create/?$',
        ContactCreateView.as_view(),
        name='create-new-contact'),
)
Example #3
0
     PresupuestoView.as_view(), name='agenda'),
 
 url(r'^usuario/editar$',
     ProfileUpdateView.as_view(), name='profile-editar'),
 
 url(r'^usuario/configurar$',
     FinalizarConfiguracion.as_view(), name='profile-configurar'),
 
 url(r'^(?P<pk>\d+)$',
     ContactoDetailView.as_view(), name='contacto-ver'),
 
 url(r'^cuenta/(?P<pk>\d+)$',
     CuentaDetailView.as_view(), name='cuenta-ver'),
 
 url(r'^(?P<pk>\d+)/editar$',
     ContactoUpdateView.as_view(), name='contacto-editar'),
 
 url(r'^cita/(?P<pk>\d+)$',
     CitaDetailView.as_view(), name='cita-ver'),
 
 url(r'^visita/(?P<pk>\d+)$',
     VisitaDetailView.as_view(), name='visita-ver'),
 
 url(r'^(?P<contacto>\d+)/cita/agregar$',
     CitaCreateView.as_view(), name='cita-agregar'),
 
 url(r'^cita/(?P<pk>\d+)/visitar$',
     CitaVisitarView.as_view(), name='cita-visitar'),
 
 url(r'^cita/(?P<pk>\d+)/editar$',
     CitaUpdateView.as_view(), name='cita-editar'),