Changeset 12317 for trunk


Ignore:
Timestamp:
12/16/10 11:07:10 (13 years ago)
Author:
sil
Message:

Implemented a tiny concept of a new API for CMT, with Piston.

Location:
trunk/sara_cmt/sara_cmt
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/sara_cmt/settings.py

    r11784 r12317  
    169169    'django.contrib.webdesign',
    170170    'sara_cmt.cluster',
     171    'sara_cmt.api',
     172    'piston',
    171173    'django_extensions',
    172174    'tagging',
  • trunk/sara_cmt/sara_cmt/urls.py

    r11803 r12317  
    44# Uncomment the next two lines to enable the admin:
    55from django.contrib import admin
     6import sara_cmt.api.urls
    67admin.autodiscover()
    78
     
    1718    (r'^admin/', include(admin.site.urls)),
    1819    (r'^db/(.*)', databrowse.site.root),
     20
     21    # Piston API:
     22    (r'^api/', include('sara_cmt.api.urls')),
    1923
    2024    # !!! Multiple admin-sites !!!
Note: See TracChangeset for help on using the changeset viewer.