Esempio n. 1
0
File: urls.py Progetto: kataev/bkz
# -*- coding: utf-8 -*-
from bkz.utils import app_urlpatterns, patterns, url


urlpatterns = patterns('bkz.it.views',
                       url(r'^$', 'main', name='index'),
)

urlpatterns += app_urlpatterns('it')
Esempio n. 2
0
File: urls.py Progetto: wd5/1-bkz
# -*- coding: utf-8 -*-
from bkz.utils import app_urlpatterns,patterns,url
from django.conf.urls import include

urlpatterns = patterns('bkz.make.views',
    url(ur'^$', 'index', name='index'),
    url(ur'^Формовка$', 'forming', name='forming'),
    url(ur'^Садка$', 'warren', name='warren'),
    url(ur'^ЦПУ/', include('bkz.cpu.urls', namespace='cpu')),
)

urlpatterns += app_urlpatterns('make')
Esempio n. 3
0
File: urls.py Progetto: wd5/1-bkz
# -*- coding: utf-8 -*-
from bkz.utils import app_urlpatterns,patterns,url

urlpatterns = patterns('bkz.energy.views',
    url(r'^$', 'index', name='index'),
    url(ur'^Энергоресурсы$', 'energy', name='energy'),
    url(ur'^Теплоэнергия$', 'teplo', name='teplo'),
) + app_urlpatterns('energy')
Esempio n. 4
0
File: urls.py Progetto: kataev/bkz
# -*- coding: utf-8 -*-
from bkz.utils import app_urlpatterns, url, patterns

urlpatterns = patterns('bkz.whs.views',
                       url(ur'^$', 'bricks', name='index'), # for deleteView
                       url(ur'^$', 'bricks', name='Brick-list'),
                       url(ur'^Контрагенты$', 'agents', name='Agent-list'),
                       url(ur'^Реализация/$', 'bills', name='Bill-list'),
                       url(ur'^Сортировка/$', 'sortings', name='Sorting-list'),

                       url(ur'^Производство', 'batchs', name='Add-list'),
                       url(ur'^Журнал', 'journal', name='journal'),
                       url(ur'^Сверка$', 'verification', name='verification'),
                       url(ur'^Переводы$', 'transfers', name='transfers'),

                       url(ur'^Накладная/(?P<pk>\d+)/печать$', 'bill_print', name='Bill-print'),
) + app_urlpatterns('whs')
Esempio n. 5
0
File: urls.py Progetto: wd5/1-bkz
# -*- coding: utf-8 -*-
from bkz.utils import app_urlpatterns,patterns,url

urlpatterns = patterns('bkz.lab.views',
    url(ur'^$', 'index', name='index'),
    url(ur'^Журнал/$', 'journal', name='journal'),
    url(ur'^Показатели/$', 'stats', name='stats'),
    url(ur'^Журнал/(?P<date>\d{4}-\d{2}-\d{2})$', 'journal', name='journal'),
    url(ur'^ГотоваяПродукция/(?P<pk>\d+)/печать_акта$', 'batch_print_akt', name='Batch-print_akt'),
    url(ur'^ГотоваяПродукция/(?P<pk>\d+)/печать_документа_о_качестве$', 'batch_print_doc', name='Batch-print_doc'),
    url(ur'^ГотоваяПродукция/(?P<pk>\d+)/испытания$', 'batch_tests', name='Batch-tests'),
    url(ur'^ГотоваяПродукция/(?P<pk>\d+)/испытания/печать_протокола$', 'batch_tests_print', name='Batch-tests_print'),
)

urlpatterns += app_urlpatterns('lab')