Пример #1
0
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('web.views',
    url('^$', 'home', name='home'),
    url('^get_canal$', 'get_canal', name='get_canal'),
    url('^get_aplicativo$', 'get_aplicativo', name='get_aplicativo'),
    url('^get_usuario$', 'get_usuario', name='get_usuario'),
    url('^get_peticion$', 'get_peticion', name='get_peticion'),
    url('^get_peticion_attach$', 'get_peticion_attach', 
        name='get_peticion_attach'),
    url('^get_defecto$', 'get_defecto', name='get_defecto'),
    url('^get_peticion_simple$', 'get_peticion_simple', 
        name='get_peticion_simple'),
    url('^get_carpeta$', 'get_carpeta', 
        name='get_carpeta'),
    url('^get_prueba$', 'get_prueba', 
        name='get_prueba'),
    url('^get_pruebas$', 'get_pruebas', 
        name='get_pruebas'),    
    url('^get_pprueba$', 'get_pprueba', 
        name='get_pprueba'),
    url('^get_tipo_defecto$', 'get_tipo_defecto', 
        name='get_tipo_defecto'),    
    url('^get_dfilter$', 'get_dfilter', 
        name='get_dfilter'),  
    url('^get_ejeprueba_attach$', 'get_ejeprueba_attach', 
        name='get_ejeprueba_attach'),  
    url('^get_ejecarpeta$', 'get_ejecarpeta', 
        name='get_ejecarpeta'),  
Пример #2
0
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('ubigeo.views',
        url(r'^get_ubigeo/<ubigeo_id:#>/', 'get_ubigeo', name='get_ubigeo'),
        url(r'^ubigeo/$', 'widget', name='widget'),
        ('^province/(?P<department>\d+)/$', 'get_provinces'),
)
Пример #3
0
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('main.views',
        url('^$', 'main_homepage', name='main_homepage'),
        url('validate_form1$', 'validate_form1', name='validate_form1'),
        url('validate_form2$', 'validate_form2', name='validate_form2'),
        url('validate_generic$', 'validate_generic', name='validate_generic'),
        url('validate_form_captcha$', 'validate_form_captcha', name='validate_form_captcha'),
        url('get_profile_name$', 'get_profile_name', name='get_profile_name'),
        url('captcha$', 'captcha', name='captcha'),
)
Пример #4
0
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('contest.views',
        url('^winners/', 'show_winners', name='show_winners'),
)
Пример #5
0
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('contact.views',
        url('^send/', 'contact_send', name='contact_send'),
)
Пример #6
0
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns
from surlex.dj import surl as url

urlpatterns = patterns('profile.views',
        url('^login/', 'profile_login', name='profile_login'),
        url('^register/', 'profile_register', name='profile_register'),
)