Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/d/j/django-angularjs-rest-HEAD/snippets/serializers.py   django-angularjs-rest(Download)
from django.forms import widgets
from django.contrib.auth.models import User
from rest_framework import serializers
from models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES
 

src/d/j/django-cookie-law-nl-0.2.1/cookie_law/functions.py   django-cookie-law-nl(Download)
from django.utils.translation import ugettext as _
 
from .models import LANGUAGE_CHOICES, CookieBar
 
 
def create_default_cookie_bars():
    """
        Create a default cookie bar for each defined language
    """
    for language in LANGUAGE_CHOICES: