Пример #1
0
"""billing_center URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import url, patterns
from views import indexView
from views import tenant_list
#from views import JSONView

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="tenant_index"),
    url(r'^list$', tenant_list, name="tenant_list"),
)
Пример #2
0
"""billing_center URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import url, patterns
from views import indexView
from views import JSONView

urlpatterns = patterns(
    '', url(r'^$', indexView.as_view(), name="networktopology_index"),
    url(r'^json$', JSONView.as_view(), name="networktopology_json")
    # url(r'^$', views.NetworkTopologyView.as_view(), name='index'),
)
Пример #3
0
from django.views.generic import TemplateView
from views import indexView
from views import floatingip_list
from views import floatingip_delete
from views import floatingip_pools_list
from views import floatingip_allocate
from views import getPriceDiscount
from views import port_list
from views import floatingip_associate
from views import floatingip_disassociate
from views import floatingip_noassociate_list

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="floatingip_index"),
    url(r'^list$', floatingip_list, name="floatingip_list"),
    url(r'^noassociate_list$',
        floatingip_noassociate_list,
        name="floatingip_noassociate_list"),
    url(r'^delete$', floatingip_delete, name="floatingip_delete"),
    url(r'^allocate$', floatingip_allocate, name="floatingip_allocate"),
    url(r'^associate$', floatingip_associate, name="floatingip_associate"),
    url(r'^disassociate$',
        floatingip_disassociate,
        name="floatingip_disassociate"),
    url(r'^floatingip_billing$', getPriceDiscount, name="floatingip_billing"),
    url(r'^pool/list$', floatingip_pools_list, name="floatingip_pools_list"),
    url(r'^port/list$', port_list, name="floatingip_port_list"),
)
Пример #4
0
from views import availability_zone_list
from views import instance_list_attach
from views import get_console
from views import resize
from views import getInstanceSecurityGroup
from views import updateInstanceSecurityGroup
from views import disassociate
from views import getInstancePorts
from views import associate
from views import create_snapshot
from views import instance_flavor_create
from views import get_instance

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="instance_index"),
    url(r'^list$', instance_list, name="instance_list"),
    url(r'^list_attach$', instance_list_attach, name="instance_list_attach"),
    url(r'^update$', updateInstance, name="instance_update"),
    url(r'^start$', startInstance, name="instance_start"),
    url(r'^stop$', stopInstance, name="instance_stop"),
    url(r'^reboot$', rebootInstance, name="instance_reboot"),
    url(r'^delete$', deleteInstance, name="instance_delete"),
    url(r'^console$', get_console, name="instance_console"),
    url(r'^image_list$', getImages, name="instance_image_list"),
    url(r'^region_list$', getRegions, name="region_list"),
    url(r'^instance_billing$', getPriceDiscount, name="instance_billing"),
    url(r'^create$', instance_create, name="instance_create"),
    url(r'^network_list$', getNetworks, name="instance_network_list"),
    url(r'^disassociate$', disassociate, name="instance_disassociate"),
    url(r'^associate$', associate, name="instance_associate"),
Пример #5
0
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import url, patterns

from views import indexView
from views import network_list
from views import network_delete
from views import network_update
from views import network_create
from views import subnet_update
from views import get_subnet
from views import portView
from views import port_list
from views import port_update

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="network_index"),
    url(r'^port$', portView.as_view(), name="network_port_index"),
    url(r'^list$', network_list, name="network_list"),
    url(r'^delete$', network_delete, name="network_delete"),
    url(r'^update$', network_update, name="network_update"),
    url(r'^create$', network_create, name="network_create"),
    url(r'^subnet/update$', subnet_update, name="subnet_update"),
    url(r'^subnet/detail$', get_subnet, name="subnet_show"),
    url(r'^port/list$', port_list, name="network_port_list"),
    url(r'^port/update$', port_update, name="network_port_update"),
)
Пример #6
0
from views import securityGroupList

from views import indexView
from views import securityGroupDelete
from views import securityGroupCreate
from views import securityGroupUpdate
from views import securityGroupRuleIndex
from views import securityGroupRuleList
from views import securityGroupRuleDelete
from views import securityGroupRuleMenu
from views import securityGroupRuleCreate
from views import securityGroupNoPageList

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="securitygroup_index"),
    url(r'^list$', securityGroupList, name="securitygroup_list"),
    url(r'^nopagelist$',
        securityGroupNoPageList,
        name="securitygroup_nopage_list"),
    url(r'^delete$', securityGroupDelete, name="securitygroup_delete"),
    url(r'^create$', securityGroupCreate, name="securitygroup_create"),
    url(r'^update$', securityGroupUpdate, name="securitygroup_update"),
    url(r'^rule$',
        securityGroupRuleIndex.as_view(),
        name="securitygrouprule_index"),
    url(r'^rule/list$', securityGroupRuleList, name="securitygrouprule_list"),
    url(r'^rule/delete$',
        securityGroupRuleDelete,
        name="securitygrouprule_delete"),
    url(r'^rule/menu$', securityGroupRuleMenu, name="securitygrouprule_menu"),
Пример #7
0
"""billing_center URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import url, patterns
from views import indexView
from views import *
#from views import JSONView

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="user_index"),
    url(r'^user_info$', UserInfoView.as_view(), name="user_info"),
)
Пример #8
0
"""
from django.conf.urls import include, url, patterns

from django.views.generic import TemplateView
from views import indexView
from views import volumn_list
from views import volume_create
from views import getPriceDiscount
from views import volume_extend
from views import volume_delete
from views import volume_update
from views import volume_attach
from views import volume_detach
from views import volume_availability_zone_list

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="volumn_index"),
    url(r'^list$', volumn_list, name="volumn_list"),
    url(r'^create$', volume_create, name="volumn_create"),
    url(r'^extend$', volume_extend, name="volumn_extend"),
    url(r'^delete$', volume_delete, name="volumn_delete"),
    url(r'^update$', volume_update, name="volumn_update"),
    url(r'^attach$', volume_attach, name="volumn_attach"),
    url(r'^detach$', volume_detach, name="volumn_detach"),
    url(r'^volume_billing$', getPriceDiscount, name="volumn_billing"),
    url(r'^volume_zone_list$',
        volume_availability_zone_list,
        name="volume_zone_list"),
)
Пример #9
0
from django.views.generic.edit import CreateView
from Locations.models import City


from Locations.views import countryView, process_up_vote, process_down_vote,ajax_Upvote, ajax_Downvote, addCity, edit_comment, delete_comment
from hitcount.views import update_hit_count_ajax

import notifications


User = get_user_model()

urlpatterns = patterns('',
 
    
    url(r'^$', indexView.as_view(), name='index'),

    url(r'^register', registration.as_view(), name='registration'),
    url(r'^thanks', TemplateView.as_view(template_name='thanks.html')),

    url(r'^gokaramba/', include(admin.site.urls)),
    url(r'^accounts/', include('authtools.urls')),

    url(r'^login/', loginView, name = 'login'),
    url(r'^logout/', logoutView, name = 'logout'),
    url(r'^about/', TemplateView.as_view(template_name='about.html'), name = 'about'),
    url(r'^contact/', TemplateView.as_view(template_name='contact.html'), name = 'contact'),

 

    url(r'^activate/(?P<activation_key>\w+)/$', activate, name='activation'),			
Пример #10
0
from views import router_create
from views import router_delete
from views import router_update
from views import getPriceDiscount
from views import portView
from views import port_list
from views import port_update
from views import port_delete
from views import routeView
from views import route_list
from views import route_delete
from views import route_create

urlpatterns = patterns(
    '',
    url(r'^$', indexView.as_view(), name="router_index"),
    url(r'^port$', portView.as_view(), name="router_port_index"),
    url(r'^route$', routeView.as_view(), name="router_route_index"),
    url(r'^router$', router_list, name="router_list"),
    url(r'^extnet$', get_ext_net, name="router_extnet"),
    url(r'^create$', router_create, name="router_create"),
    url(r'^delete$', router_delete, name="router_delete"),
    url(r'^update$', router_update, name="router_update"),
    url(r'^router_billing$', getPriceDiscount, name="router_billing"),
    url(r'^port/list$', port_list, name="router_port_list"),
    url(r'^port/update$', port_update, name="router_port_update"),
    url(r'^port/delete$', port_delete, name="router_port_delete"),
    url(r'^route/list$', route_list, name="router_route_list"),
    url(r'^route/delete$', route_delete, name="router_route_delete"),
    url(r'^route/create$', route_create, name="router_route_create"),
)
Пример #11
0
"""billing_center URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import include, url, patterns

from views import indexView
from views import image_list
from views import image_update
from views import image_delete
from views import get_image

urlpatterns = patterns('',
   url(r'^$', indexView.as_view(),name="image_index"),
   url(r'^list$', image_list,name="image_list"),
   url(r'^update$', image_update,name="image_update"),
   url(r'^delete$', image_delete,name="image_delete"),
   url(r'^image_get',get_image,name="image_get"),
)
Пример #12
0
from views1 import BillDetailsView, RecentCostView, ChildAccountView, SubAccountDetailView, data_def_map, pay_redirect
from views1 import BillDetailsView, RecentCostView, ChildAccountView, DiscountFormView
from view_invoice import InvoiceManageView, Sub_InvoiceAccountView, Sub_InvoiceApplyView
from views1 import BillDetailsView, RecentCostView, ChildAccountView
from billView import BillView, BillDetailView
from rechargeRecordView import RechargeRecordView
#from views1 import IndexView,BillDetailsView,RecentCostView,ChildAccountView
from dashboard.project import sunComsumptinViews, billView, rechargeRecordView
from views import indexView
from business import BusinessView, CreditLineFormView, changeCreditLine
from views import testView

urlpatterns = patterns(
    '',
    url(r'^$', abc.as_view()),
    url(r'^index$', indexView.as_view(), name="project_index"),
    url(r'^test$', testView.as_view(), name="test"),
    url(r'^bill_details/$', BillDetailsView.as_view(), name="bill_details"),
    url(r'^bill_details$', BillDetailsView.as_view(), name="bill_details"),
    url(r'^index$',
        TemplateView.as_view(template_name="base.html"),
        name="index"),
    url(r'^recent_cost$', RecentCostView.as_view(), name="recent_cost"),
    url(r'^datarequest', data_def_map, name="data_request"),
    url(r'^payment_redirect', pay_redirect, name="payment_redirect"),
    url(r'^account_manage$', ChildAccountView.as_view(),
        name="account_manage"),
    url(r'^account_manage/detail$',
        SubAccountDetailView.as_view(),
        name="account_manage"),
    url(r'^account_manage/discount/edit$',