urlpatterns = patterns('', url(r'^$', EmergenciaIndexView.as_view(), name='emergency-index'), url(r'^ingresar$', EmergenciaPreCreateView.as_view(), name='emergency-ingresar'), url(r'^persona/ingresar$', PersonaEmergenciaCreateView.as_view(), name='emergency-persona-create'), url(r'^persona/(?P<pk>\d+)/lista$', PersonaDetailView.as_view(template_name='emergency/emergencia_persona_list.html'), name='emergency-persona-list'), url(r'^persona/(?P<persona>\d+)$', EmergenciaCreateView.as_view(), name='emergency-create'), url(r'^(?P<emergencia>\d+)/edit$', EmergenciaUpdateView.as_view(), name='emergencia-update'), url(r'^(?P<pk>\d+)$', EmergenciaDetailView.as_view(), name='emergency-view-id'), url(r'^(?P<emergencia>\d+)/tratamiento/agregar$',
AntecedenteQuirurgicoUpdateView, AntecedenteQuirurgicoCreateView, PersonaSearchView, EmpleoCreateView, PersonaDuplicateView, EmpleadorDetailView, EmpleadorCreateView, PersonaDownloadView, PersonaDeleteView, PersonaEditView, ) urlpatterns = patterns( "", url(r"^$", PersonaIndexView.as_view(), name="persona-index"), url(r"^(?P<pk>\d+)$", PersonaDetailView.as_view(), name="persona-view-id"), url(r"^(?P<pk>\d+)/descargar/$", PersonaDownloadView.as_view()), url(r"^(?P<pk>\d+)/eliminar/$", PersonaDeleteView.as_view()), url(r"^(?P<person_id>\d+)/editar/(?P<pk>\d+)/$", PersonaEditView.as_view()), url( r"^(?P<pk>\d+)/estilovida$", PersonaDetailView.as_view(template_name="persona/estilo_detail.html"), name="persona-estilo", ), url(r"^agregar$", PersonaCreateView.as_view(), name="persona-create"), url(r"^empresa/(?P<pk>\d+)$", EmpleadorDetailView.as_view(), name="empresa"), url(r"^empresa/agregar$", EmpleadorCreateView.as_view(), name="empresa-add"), url(r"^buscar$", PersonaSearchView.as_view(), name="persona-search"), url(r"^(?P<pk>\d+)/editar$", PersonaUpdateView.as_view(), name="persona-editar"), url(r"^(?P<pk>\d+)/duplicada$", PersonaDuplicateView.as_view(), name="persona-duplicate"), url(r"^(?P<persona>\d+)/empleo/add$", EmpleoCreateView.as_view(), name="persona-empleo-add"),
EmergenciaAntecedenteObstetricoUpdateView, EmergenciaAntecedenteQuirurgicoUpdateView, EmergenciaAntecedenteQuirurgicoCreateView, EmergenciaUpdateView) from persona.views import PersonaDetailView urlpatterns = patterns( '', url(r'^$', EmergenciaListView.as_view(), name='emergency-index'), url(r'^ingresar$', EmergenciaPreCreateView.as_view(), name='emergency-ingresar'), url(r'^persona/ingresar$', PersonaEmergenciaCreateView.as_view(), name='emergency-persona-create'), url(r'^persona/(?P<pk>\d+)/lista$', PersonaDetailView.as_view( template_name='emergency/emergencia_persona_list.html'), name='emergency-persona-list'), url(r'^persona/(?P<persona>\d+)$', EmergenciaCreateView.as_view(), name='emergency-create'), url(r'^(?P<emergencia>\d+)/edit$', EmergenciaUpdateView.as_view(), name='emergencia-update'), url(r'^(?P<pk>\d+)$', EmergenciaDetailView.as_view(), name='emergency-view-id'), url(r'^(?P<emergencia>\d+)/tratamiento/agregar$', TratamientoCreateView.as_view(), name='emergencia-tratamiento-agregar'), url(r'^(?P<emergencia>\d+)/diagnostico/agregar$', DiagnosticoCreateView.as_view(),
from django.conf.urls import patterns, url from persona.views import (PersonaDetailView, PersonaCreateView, PersonaUpdateView, EstiloVidaUpdateView, AntecedenteUpdateView, AntecedenteFamiliarUpdateView, AntecedenteObstetricoUpdateView, PersonaIndexView, FisicoUpdateView, AntecedenteQuirurgicoUpdateView, AntecedenteQuirurgicoCreateView, PersonaSearchView) urlpatterns = patterns('', url(r'^$', PersonaIndexView.as_view(), name='persona-index'), url(r'^(?P<pk>\d+)$', PersonaDetailView.as_view(), name='persona-view-id'), url(r'^(?P<pk>\d+)/estilovida$', PersonaDetailView.as_view(template_name='persona/estilo_detail.html'), name='persona-estilo'), url(r'^agregar$', PersonaCreateView.as_view(), name='persona-create'), url(r'^buscar$', PersonaSearchView.as_view(), name='persona-search'), url(r'^(?P<pk>\d+)/editar$',
# License along with this library. If not, see <http://www.gnu.org/licenses/>. from django.conf.urls import patterns, url from persona.views import ( PersonaDetailView, PersonaCreateView, PersonaUpdateView, EstiloVidaUpdateView, AntecedenteUpdateView, AntecedenteFamiliarUpdateView, AntecedenteObstetricoUpdateView, PersonaIndexView, FisicoUpdateView, AntecedenteQuirurgicoUpdateView, AntecedenteQuirurgicoCreateView, PersonaSearchView, EmpleoCreateView, PersonaDuplicateView, EmpleadorDetailView, EmpleadorCreateView, PersonaDownloadView, PersonaDeleteView, PersonaEditView) urlpatterns = patterns( '', url(r'^$', PersonaIndexView.as_view(), name='persona-index'), url(r'^(?P<pk>\d+)$', PersonaDetailView.as_view(), name='persona-view-id'), url(r'^(?P<pk>\d+)/descargar/$', PersonaDownloadView.as_view()), url(r'^(?P<pk>\d+)/eliminar/$', PersonaDeleteView.as_view()), url(r'^(?P<person_id>\d+)/editar/(?P<pk>\d+)/$', PersonaEditView.as_view()), url(r'^(?P<pk>\d+)/estilovida$', PersonaDetailView.as_view(template_name='persona/estilo_detail.html'), name='persona-estilo'), url(r'^agregar$', PersonaCreateView.as_view(), name='persona-create'), url(r'^empresa/(?P<pk>\d+)$', EmpleadorDetailView.as_view(), name='empresa'), url(r'^empresa/agregar$', EmpleadorCreateView.as_view(), name='empresa-add'), url(r'^buscar$', PersonaSearchView.as_view(), name='persona-search'),