from django.conf.urls import patterns, url from django.contrib.auth.decorators import login_required from django.views.generic import CreateView, TemplateView, ListView, UpdateView from forms import AOIForm, JobForm, ProjectForm from models import AOI, Project, Job from proxies import proxy_to from views import (BatchCreateAOIS, CreateFeaturesView, Dashboard, DetailedListView, JobDetailedListView, AOIDetailedListView, ChangeAOIStatus, JobDelete, AOIDelete, CreateJobView, CreateProjectView, redirect_to_unassigned_aoi, aoi_delete) urlpatterns = patterns( '', url(r'^$', Dashboard.as_view(), name='home'), # PROJECTS url(r'^projects/?$', ListView.as_view(queryset=Project.objects.all()), name='project-list'), url(r'^projects/(?P<pk>\d+)/?$', DetailedListView.as_view(template_name="core/project_detail.html"), name='project-detail'), url(r'^projects/create/?$', login_required( CreateProjectView.as_view(form_class=ProjectForm, template_name="core/generic_form.html")), name='project-create'), url(r'^projects/update/(?P<pk>\d+)/?$', login_required(
from django.contrib import admin from views import Home, Project_view, RecomendedProjects_view, AboutView, OurPeople, Create_skill, Edit_project, Profile, Category_view, Category_view_filter, Sub_category_view_filter, Users_view, Settings, Create_project, Register, Login, Create_profile, Trueques, Set_Password, solicitar_cambio_contrasena, cambiar_contrasena_usuario, Dashboard, register_comment, ProjectComments, UserComments, ProjectComment import views from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.staticfiles.urls import staticfiles_urlpatterns urlpatterns = patterns( '', url(r'^likes/', include('phileo.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^$', Home.as_view(), name='index'), url(r'^proyecto/(?P<username>\w+)/(?P<slug>[-_\w]+)/$', Project_view.as_view(), name='project'), url(r'^proyecto/editar/(?P<username>\w+)/(?P<slug>[-_\w]+)/$', Edit_project.as_view(), name='editproject'), url(r'^perfil/(?P<slug>[-_\w]+)/$', Profile.as_view(), name='profile'), url(r'^dashboard/(?P<slug>[-_\w]+)/$', Dashboard.as_view(), name='dashboard'), url(r'^descubre/$', Category_view.as_view() , name='category'), url(r'^colabora/(?P<tipo>\w+)/$', RecomendedProjects_view.as_view() , name='matches'), url(r'^descubre/(?P<category>\w+)/$', Category_view_filter.as_view(), name='subcategory'), url(r'^descubre/(?P<category>\w+)/(?P<subcategory>\w+)/$', Sub_category_view_filter.as_view(), name='detailsubcategory'), url(r'^encuentra/$', Users_view.as_view() , name='encuentra'), url(r'^register/$', Register.as_view(), name='register'), url(r'^login/$', Login.as_view(), name='login'), url(r'^register/perfil/$', Create_profile.as_view(), name='createprofile'), url(r'^logout/$', views.user_logout, name='logout'), url(r'^configuracion/(?P<username>\w+)/$', login_required(Settings.as_view()), name='settings'), url(r'^crea/$', login_required(Create_project.as_view()), name='create'), url(r'^crea/habilidad/$', login_required(Create_skill.as_view()), name='createSkill'), url(r'^froala_editor/', include('froala_editor.urls')), #url(r'^mensajes/', include('postman.urls', app_name='postman')), url(r'^colaborar/(?P<username>\w+)/(?P<slug>[-_\w]+)/$', login_required(views.register_collaborator), name='collaborate'),
from django.conf.urls import patterns, url from django.views.generic import CreateView, TemplateView, ListView, UpdateView from forms import AOIForm, JobForm, ProjectForm from models import AOI, Project, Job from views import BatchCreateAOIS, CreateFeaturesView, Dashboard, DetailedListView, JobDetailedListView, ChangeAOIStatus urlpatterns = patterns('', url(r'^$', Dashboard.as_view(), name='home'), # PROJECTS url(r'^projects/?$', ListView.as_view(queryset=Project.objects.all()), name='project-list'), url(r'^projects/(?P<pk>\d+)/?$', DetailedListView.as_view(template_name="core/project_detail.html"), name='project-detail'), url(r'^projects/create/?$', CreateView.as_view(form_class=ProjectForm, template_name="core/generic_form.html"), name='project-create'), url(r'^projects/update/(?P<pk>\d+)/?$', UpdateView.as_view(queryset=Project.objects.all(), template_name='core/generic_form.html', form_class=ProjectForm), name='project-update'), # JOBS url(r'^jobs/?$', ListView.as_view(queryset=Job.objects.all()), name='job-list'), url(r'^jobs/(?P<pk>\d+)/(?P<status>[a-zA-Z_ ]+)?/?$',
from django.conf.urls import url from views import ( Dashboard, NetworkResourceDetailPage, VirtualMachineResourcePage, ResourcesOverview, PlatformSettings, ConfigDashboard, GetPlatformName ) urlpatterns = [ url(r'^$', Dashboard.as_view()), url(r'^index$', Dashboard.as_view()), url(r'^dashboard$', Dashboard.as_view()), url(r'^platform_setting$', GetPlatformName.as_view()), url(r'^resources/overview$', ResourcesOverview.as_view()), url(r'^setting/advanced_config$', PlatformSettings.as_view()), url(r'^common/dashboard/config$', ConfigDashboard.as_view()), url(r'^sourceManage/virtualSource$', VirtualMachineResourcePage.as_view()), url(r'^sourceManage/outServer$', NetworkResourceDetailPage.as_view()), ]
from django.conf.urls import patterns, url from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required from views import Dashboard import views # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^$', csrf_exempt(Dashboard.as_view()), name="dashboard"), )
from django.conf.urls import patterns from views import Dashboard urlpatterns = patterns( '', (r'^/$', Dashboard.as_view()), )
from django.conf.urls import url from views import Dashboard, Analysis, Financials, Settings, Help uuid_pattern = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}' urlpatterns = [ url(r'^\Z', Dashboard.as_view(), name='dashboard'), url(r'^' + uuid_pattern + '/$', Dashboard.as_view(), name='trans_verify'), url(r'^dashboard/$', Dashboard.as_view(), name='dashboard'), url(r'^analysis/$', Analysis.as_view(), name='analysis'), url(r'^financials/$', Financials.as_view(), name='financials'), url(r'^settings/$', Settings.as_view(), name='settings'), url(r'^help/$', Help.as_view(), name='help'), ]
from django.conf.urls import url from views import (Dashboard, AboutUs, BlockedSitesApi, BlockedDomainsApi, BlockedUrlsSites, BlockedDomainsTableCVS, BlockedSitesTableCVS, MapApi, MapVenezuela, MapTableCVS, CaseList, SearchResultCVS, SearchResultFilterCVS, searchTwitterApi, CaseListAdvanced, CaseListApi, ISPListApi, CategoryListApi, RegionListApi, SiteListApi) urlpatterns = [ url(r'^dashboard$', Dashboard.as_view(), name="Dashboard"), url(r'^about-us$', AboutUs.as_view(), name="AboutUs"), url(r'^blocked-sites-api$', BlockedSitesApi.as_view(), name="BlockedSitesApi"), url(r'^blocked-domains-api$', BlockedDomainsApi.as_view(), name="BlockedDomainsApi"), url(r'^blocked-domains_sites$', BlockedUrlsSites.as_view(), name="BlockedUrlsSites"), url(r'^blocked-domains-excel/$', BlockedDomainsTableCVS, name="ExcelBlockedDomains"), url(r'^blocked-sites-excel/$', BlockedSitesTableCVS, name="ExcelBlockedSites"), url(r'^isp-list', ISPListApi.as_view(), name="ISPListApi"), url(r'^category-list', CategoryListApi.as_view(), name="CategoryListApi"),