# Path: NoInventory/views.py
# def qrcode(value, alt=None):
# def qrcode2(value, alt=None):
# def barcodeIMG(value, alt=None):
# def index(request):
# def items(request):
# def item(request,id_item):
# def itemAndroid(request,id_item):
# def catalogoAndroid(request,id_catalogo):
# def prueba(request):
# def catalogos(request):
# def catalogo(request,id_catalogo):
# def catalogoToInforme(request):
# def alertaCatalogo(request):
# def addSearchToCatalogo(request):
# def addToCatalogo(request):
# def updateCatalogo(request):
# def updateCatalogoAndroid(request):
# def cleanCatalogo(request):
# def busqueda(request):
# def busquedaCatalogo(request):
# def graficos(request):
# def dataGraficos(request):
# def informes(request):
# def generaPDF(request):
# def generaPDFCatalogoQRs(request):
# def generaPDFCatalogoCodigosBarras(request):
# def guardarInforme(request):
# def visualizarInforme(request):
# def borrarInforme(request):
#     def get(self, request):
#     def post(self, request):
# def deleteItems(request):
# def deleteInventorys(request):
# def deleteInformes(request):
# def catalogosJson(request):
# def itemsJson(request):
# def detectarItemJson(request):
# def itemJson(request):
# def addItemFromQrDEPRECATED(request):
# def addItemFromQr(request):
# def addItemFromNFC(request):
# def borrarItemAndroid(request):
# def addItemAndroid(request):
# def jsonTOstring(elemento):
# def jsonTOstringCatalogo(elemento):
# def borrarItem(request):
# def borrarItems(request):
# def borrarCatalogo(request):
# def borrarItemFromCatalogo(request):
# def borrarItemFromCatalogoAndroid(request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request,id_item):
#     def post(self, request,id_item):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request,id_catalogo):
#     def post(self, request,id_catalogo):
# def androidLogin(request):
# def androidRegister(request):
# def register(request):
# def user_login(request):
# def user_logout(request):
# def emailOrganizacion(request):
# class Preferencias(View):
# class ItemCreatorAndroid(View):
# class ItemCreator(View):
# class ItemUpdater(View):
# class CatalogoCreatorAndroid(View):
# class CatalogoCreator(View):
# class CatalogoUpdater(View):


from django.conf.urls import patterns, url
from NoInventory import views
from NoInventory.views import *
        url(r'^guardarInforme/$', views.guardarInforme, name='guardarInforme'),
        url(r'^visualizarInforme/$', views.visualizarInforme, name='visualizarInforme'),
        url(r'^borrarInforme/$', views.borrarInforme, name='borrarInforme'),
        url(r'^generaPDFCatalogoQRs/$', views.generaPDFCatalogoQRs, name='generaPDFCatalogoQRs'),
        url(r'^generaPDFCatalogoCodigosBarras/$', views.generaPDFCatalogoCodigosBarras, name='generaPDFCatalogoCodigosBarras'),
        url(r'^generaPDF/$', views.generaPDF, name='generaPDF'),
        url(r'^busqueda/$', views.busqueda, name='busqueda'),
        url(r'^prueba$', views.prueba, name='prueba'),
        #url(r'^nuevoItem/$', views.nuevoItem, name='nuevoItem'),
        #url(r'^nuevoCatalogo/$', views.nuevoCatalogo, name='nuevoCatalogo'),
        #url(r'^borrarItem/(?P<id_item>[\w\-]+)/$', views.borrarItem, name='borrarItem'),
        url(r'^borrarItem/$', views.borrarItem,name='borrarItem'),
        url(r'^borrarItems/$', views.borrarItems,name='borrarItems'),
        url(r'^borrarItemFromCatalogo/$', views.borrarItemFromCatalogo,name='borrarItemFromCatalogo'),
        url(r'^borrarItemFromCatalogoAndroid/$', views.borrarItemFromCatalogoAndroid,name='borrarItemFromCatalogoAndroid'),
        (r'^nuevoItem/$', ItemCreator.as_view()),
        (r'^nuevoItemAndroid/$', ItemCreatorAndroid.as_view()),
        (r'^modificarItem/(?P<id_item>[\w\-]+)/$',ItemUpdater.as_view()),
        (r'^nuevoCatalogo/$', CatalogoCreator.as_view()),
        (r'^nuevoCatalogoAndroid/$', CatalogoCreatorAndroid.as_view()),
        (r'^modificarCatalogo/(?P<id_catalogo>[\w\-]+)/$',CatalogoUpdater.as_view()),
        (r'^preferencias/$',Preferencias.as_view()),
        #url(r'^preferencias/$',views.preferencias,name='preferencias'),
        url(r'^catalogosJson/$',views.catalogosJson,name='catalogosJson'),
        url(r'^itemsJson/$',views.itemsJson,name='itemsJson'),
        url(r'^detectarItemJson/$',views.detectarItemJson,name='detectarItemJson'),
        url(r'^itemJson/$',views.itemJson,name='itemJson'),
        url(r'^deleteItems/$',views.deleteItems,name='deleteItems'),
        url(r'^deleteInventorys/$',views.deleteInventorys,name='deleteInventorys'),
        url(r'^deleteInformes/$',views.deleteInformes,name='deleteInformes'),

# Path: NoInventory/views.py
# def qrcode(value, alt=None):
# def qrcode2(value, alt=None):
# def barcodeIMG(value, alt=None):
# def index(request):
# def items(request):
# def item(request,id_item):
# def itemAndroid(request,id_item):
# def catalogoAndroid(request,id_catalogo):
# def prueba(request):
# def catalogos(request):
# def catalogo(request,id_catalogo):
# def catalogoToInforme(request):
# def alertaCatalogo(request):
# def addSearchToCatalogo(request):
# def addToCatalogo(request):
# def updateCatalogo(request):
# def updateCatalogoAndroid(request):
# def cleanCatalogo(request):
# def busqueda(request):
# def busquedaCatalogo(request):
# def graficos(request):
# def dataGraficos(request):
# def informes(request):
# def generaPDF(request):
# def generaPDFCatalogoQRs(request):
# def generaPDFCatalogoCodigosBarras(request):
# def guardarInforme(request):
# def visualizarInforme(request):
# def borrarInforme(request):
#     def get(self, request):
#     def post(self, request):
# def deleteItems(request):
# def deleteInventorys(request):
# def deleteInformes(request):
# def catalogosJson(request):
# def itemsJson(request):
# def detectarItemJson(request):
# def itemJson(request):
# def addItemFromQrDEPRECATED(request):
# def addItemFromQr(request):
# def addItemFromNFC(request):
# def borrarItemAndroid(request):
# def addItemAndroid(request):
# def jsonTOstring(elemento):
# def jsonTOstringCatalogo(elemento):
# def borrarItem(request):
# def borrarItems(request):
# def borrarCatalogo(request):
# def borrarItemFromCatalogo(request):
# def borrarItemFromCatalogoAndroid(request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request,id_item):
#     def post(self, request,id_item):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request):
#     def post(self, request):
#     def get(self, request,id_catalogo):
#     def post(self, request,id_catalogo):
# def androidLogin(request):
# def androidRegister(request):
# def register(request):
# def user_login(request):
# def user_logout(request):
# def emailOrganizacion(request):
# class Preferencias(View):
# class ItemCreatorAndroid(View):
# class ItemCreator(View):
# class ItemUpdater(View):
# class CatalogoCreatorAndroid(View):
# class CatalogoCreator(View):
# class CatalogoUpdater(View):


# Path: NoInventory/urls.py
from django.conf.urls import patterns, url
from NoInventory import views
from NoInventory.views import *

        url(r'^guardarInforme/$', views.guardarInforme, name='guardarInforme'),
        url(r'^visualizarInforme/$', views.visualizarInforme, name='visualizarInforme'),
        url(r'^borrarInforme/$', views.borrarInforme, name='borrarInforme'),
        url(r'^generaPDFCatalogoQRs/$', views.generaPDFCatalogoQRs, name='generaPDFCatalogoQRs'),
        url(r'^generaPDFCatalogoCodigosBarras/$', views.generaPDFCatalogoCodigosBarras, name='generaPDFCatalogoCodigosBarras'),
        url(r'^generaPDF/$', views.generaPDF, name='generaPDF'),
        url(r'^busqueda/$', views.busqueda, name='busqueda'),
        url(r'^prueba$', views.prueba, name='prueba'),
        #url(r'^nuevoItem/$', views.nuevoItem, name='nuevoItem'),
        #url(r'^nuevoCatalogo/$', views.nuevoCatalogo, name='nuevoCatalogo'),
        #url(r'^borrarItem/(?P<id_item>[\w\-]+)/$', views.borrarItem, name='borrarItem'),
        url(r'^borrarItem/$', views.borrarItem,name='borrarItem'),
        url(r'^borrarItems/$', views.borrarItems,name='borrarItems'),
        url(r'^borrarItemFromCatalogo/$', views.borrarItemFromCatalogo,name='borrarItemFromCatalogo'),
        url(r'^borrarItemFromCatalogoAndroid/$', views.borrarItemFromCatalogoAndroid,name='borrarItemFromCatalogoAndroid'),
        (r'^nuevoItem/$', ItemCreator.as_view()),
        (r'^nuevoItemAndroid/$', ItemCreatorAndroid.as_view()),
        (r'^modificarItem/(?P<id_item>[\w\-]+)/$',ItemUpdater.as_view()),
        (r'^nuevoCatalogo/$', CatalogoCreator.as_view()),
        (r'^nuevoCatalogoAndroid/$', CatalogoCreatorAndroid.as_view()),
        (r'^modificarCatalogo/(?P<id_catalogo>[\w\-]+)/$',CatalogoUpdater.as_view()),
        (r'^preferencias/$',Preferencias.as_view()),
        #url(r'^preferencias/$',views.preferencias,name='preferencias'),
        url(r'^catalogosJson/$',views.catalogosJson,name='catalogosJson'),
        url(r'^itemsJson/$',views.itemsJson,name='itemsJson'),
        url(r'^detectarItemJson/$',views.detectarItemJson,name='detectarItemJson'),
        url(r'^itemJson/$',views.itemJson,name='itemJson'),
        url(r'^deleteItems/$',views.deleteItems,name='deleteItems'),
        url(r'^deleteInventorys/$',views.deleteInventorys,name='deleteInventorys'),
        url(r'^deleteInformes/$',views.deleteInformes,name='deleteInformes'),

        url(r'^addItemFromQr/$',views.addItemFromQr,name='addItemFromQr'),