Did I find the right examples for you? yes no

All Samples(19)  |  Call(7)  |  Derive(0)  |  Import(12)

src/f/o/foauth.org-HEAD/web.py   foauth.org(Download)
        data = service.callback(request.args, redirect_uri.decode('utf8'))
        if not user_key:
            user_key = models.Key(user_id=current_user.id,
                                  service_alias=service.alias)
        user_key.update(data)
        return redirect(url_for('oauth_login'))
 
    key = models.Key()
    key.update(data)
    user_id = service.get_user_id(key)

src/d/e/deis-HEAD/controller/api/admin.py   deis(Download)
from .models import Config
from .models import Container
from .models import Key
from .models import Release
 

src/d/j/django-signature-0.3.1/signature/admin.py   django-signature(Download)
from django.contrib import admin
from models import Key, CertificateRequest, Signature, Certificate
 
class KeyAdmin(admin.ModelAdmin):
    pass

src/d/j/django-valet-keys-0.0.2/valet_keys/admin.py   django-valet-keys(Download)
from django.core.urlresolvers import reverse
 
from .models import Key, KeyAction
 
 

src/d/j/django-valet-keys-0.0.2/valet_keys/tests/test_views.py   django-valet-keys(Download)
from django.core.urlresolvers import reverse
 
from ..models import Key
from ..views import ITEMS_PER_PAGE
 
        self.user2.save()
 
        self.key1 = Key(user=self.user, description='Test Key 1')
        self.key1.save()
        self.key2 = Key(user=self.user, description='Test Key 2')
        self.key2.save()
        self.key3 = Key(user=self.user2, description='Test Key 3')

src/d/j/django-verification-0.1.2/src/verification/admin.py   django-verification(Download)
from __future__ import unicode_literals
 
from django.contrib import admin
 
from .models import Key, KeyGroup

src/b/i/binder-HEAD/binder/admin.py   binder(Download)
from models import BindServer, Key
from django.contrib import admin
 
class BindServerAdmin(admin.ModelAdmin):
    list_display = [ 'hostname',  'statistics_port', 'default_transfer_key' ]

src/d/j/django-valet-keys-0.0.2/valet_keys/views.py   django-valet-keys(Download)
 
from .utils import paginate, smart_int
from .models import Key
from .forms import KeyForm
 

src/d/j/django-valet-keys-0.0.2/valet_keys/forms.py   django-valet-keys(Download)
from django import forms
 
from .models import Key
 
 

src/d/j/django-valet-keys-0.0.2/valet_keys/decorators.py   django-valet-keys(Download)
from django.conf import settings
 
from .models import Key
 
 

  1 | 2  Next