Please discard my previous incomplete message.
I am very new to Django and Piston. I am using piston to generate json
api. After installing Piston package into Python site packages, I only
refer the Piston library in two places.
api/
handler.py ( from piston.handler import BaseHandler )
urls.py ( from piston.resource import Resource )
However when l logged in to the django admin page, I saw site
administration list for piston:
Piston
Consumers Add Change
Nonces Add Change
Resources Add Change
Tokens Add Change
I am wondering if there is any way to customize this list? Actually I
prefer removing them for now but don't know where to start.
Thanks for your help.
Wayne
from django.contrib import admin
from piston.models import Nonce, Consumer, Token
admin.site.unregister(Consumer)
admin.site.unregister(Nonce)
admin.site.unregister(Token)