Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(11)  |  Derive(0)  |  Import(1)

src/d/j/django-options-HEAD/django_options/testapp/app/admin.py   django-options(Download)
from django import forms
from django.contrib.admin.widgets import AdminFileWidget
 
from django_options.admin import OptionsPage, admin_pages, option
from django_options.forms import OptionsForm
 
        # options
        site_title = option(forms.CharField(max_length=255))
        site_description = option(forms.CharField(widget=forms.Textarea))
 
 
            # options
            site_keywords = option(forms.CharField(widget=forms.Textarea))
            site_theme = option(forms.ChoiceField(choices=(
                ('', '-- Empty --'),