Commit e229acb06cb969894c5a91f0e974a7928113f916

Authored by Macartur Sousa
1 parent 69e35926

Added urls to spb plugins

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Signed-off-by: Alexandre Barbosa <alexandrealmeidabarbosa@gmail.com>
Showing 2 changed files with 10 additions and 1 deletions   Show diff stats
urls.py 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +from django.conf.urls import patterns, url
  2 +from . import views
  3 +
  4 +urlpatterns = patterns('',
  5 + url( r'^(?P<path>.*)$', views.get_list, name='get_list'),
  6 +)
  7 +
... ...
views.py
1 1 from django.shortcuts import render
  2 +from django.http import HttpResponse
2 3  
3   -# Create your views here.
  4 +def get_list(request,path=None,list_name=None):
  5 + return HttpResponse('Hello Word')
... ...