示例#1
0
文件: urls.py 项目: AngelPercy/sysmed
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$',
示例#2
0
文件: urls.py 项目: AngelPercy/sysmed
    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"),
示例#3
0
    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(),
示例#4
0
文件: urls.py 项目: Exian/hospicloud
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$',
示例#5
0
# 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'),