HomeSort by relevance Sort by last modified time
    Searched refs:django (Results 26 - 50 of 82) sorted by null

12 3 4

  /external/toolchain-utils/automation/server/monitor/
manage.py 8 from django.core.management import execute_manager
dashboard.py 14 from django import forms
15 from django.http import HttpResponseRedirect
16 from django.shortcuts import render_to_response
17 from django.template import Context
18 from django.views import static
  /external/python/oauth2client/tests/contrib/django_util/
test_decorators.py 19 from django import http
20 import django.conf
21 from django.contrib.auth.models import AnonymousUser, User
36 self.save_settings = copy.deepcopy(django.conf.settings)
38 # OAuth2 Settings gets configured based on Django settings
47 django.conf.settings = copy.deepcopy(self.save_settings)
69 scopes=set(django.conf.settings.GOOGLE_OAUTH2_SCOPES))
86 set(django.conf.settings.GOOGLE_OAUTH2_SCOPES))
94 scopes=set(django.conf.settings.GOOGLE_OAUTH2_SCOPES))
113 self.save_settings = copy.deepcopy(django.conf.settings
    [all...]
test_views.py 20 import django
21 from django import http
22 import django.conf
23 from django.contrib.auth.models import AnonymousUser, User
40 self.save_settings = copy.deepcopy(django.conf.settings)
46 django.conf.settings = copy.deepcopy(self.save_settings)
75 self.save_settings = copy.deepcopy(django.conf.settings)
82 django.conf.settings.GOOGLE_OAUTH2_STORAGE_MODEL = STORAGE_MODEL
84 # OAuth2 Settings gets configured based on Django settings
92 django.conf.settings = copy.deepcopy(self.save_settings
    [all...]
  /external/autotest/frontend/afe/feeds/
feed.py 1 import django.http
2 from django.contrib.syndication import views
6 # Copied from django/contrib/syndication/views.py. The default view doesn't
10 from django.http import HttpResponse, Http404
28 # this line is changed from the Django library version to pass
51 server_hostname = django.http.get_host(request)
  /external/autotest/frontend/afe/
urls.py 1 from django.conf import urls
management.py 1 # use some undocumented Django tricks to execute custom logic after syncdb
3 from django.db.models import signals
4 from django.contrib import auth
5 from django.conf import settings
10 # it was imported. For that reason, we must import models as Django does -- not
views.py 3 from django.http import HttpResponse, HttpResponsePermanentRedirect
4 from django.http import HttpResponseServerError
5 from django.template import Context, loader
admin.py 0 """Django 1.0 admin interface declarations."""
3 from django import forms
4 from django.contrib import admin, messages
5 from django.forms.util import flatatt
6 from django.utils.encoding import smart_str
7 from django.utils.safestring import mark_safe
176 @param request: django request
model_logic.py 2 Extensions to Django's model logic.
5 import django.core.exceptions
6 from django.db import connection
7 from django.db import connections
8 from django.db import models as dbmodels
9 from django.db import transaction
10 from django.db.models.sql import query
11 import django.db.models.sql.where
17 class ValidationError(django.core.exceptions.ValidationError):
85 """Object allowing us to inject arbitrary SQL into Django queries
    [all...]
  /external/autotest/frontend/
setup_django_environment.py 13 from django.db import connections
setup_test_environment.py 1 from django.core import management
2 from django.conf import settings
5 # we need to set DATABASE_ENGINE now, at import time, before the Django database
7 # django.conf.settings.LazySettings is buggy and requires us to get something
18 from django.db import connections
47 # Django brilliantly ignores close() requests on in-memory DBs to keep us
50 # Note this depends on Django internals and will likely need to be changed
51 # when we upgrade Django.
apache_auth.py 1 from django.contrib.auth.models import User, Group, check_password
2 from django.contrib.auth import backends
3 from django.contrib import auth
4 from django import http
72 Like GetApacheUserMiddleware, but also logs the user into Django's auth
  /external/autotest/site_utils/
stable_version_utils.py 9 import django.core.exceptions
49 except django.core.exceptions.ObjectDoesNotExist:
67 except django.core.exceptions.ObjectDoesNotExist:
count_jobs_unittest.py 16 from django import test
  /external/python/oauth2client/oauth2client/contrib/django_util/
decorators.py 15 """Decorators for Django OAuth2 Flow.
28 from django import shortcuts
29 import django.conf
59 decorated_function: View function to decorate, must have the Django
76 django.conf.settings.LOGIN_URL,
models.py 15 """Contains classes used for the Django ORM storage."""
20 from django.db import models
21 from django.utils import encoding
27 """Django ORM field for storing OAuth2 Credentials."""
views.py 27 from django import http
28 from django import shortcuts
29 from django.conf import settings
30 from django.core import urlresolvers
31 from django.shortcuts import redirect
47 request: A Django request object.
104 request: Django request.
167 request: The Django request object.
__init__.py 15 """Utilities for the Django web framework.
17 Provides Django views and helpers the make using the OAuth2 web server
28 existing Django model containing a Django user field. Most of the
30 settings.py. See "Adding Credentials To An Existing Django User System" for
33 Only Django versions 1.8+ are supported.
49 "django.contrib.sessions.middleware"
53 This helper also requires the Django Session Middleware, so
54 ``django.contrib.sessions.middleware`` should be in INSTALLED_APPS as well.
84 By default, the decorators will add an `oauth` object to the Django reques
    [all...]
  /external/python/oauth2client/docs/
conf.py 11 # In order to load django before 1.7, we need to create a faux
12 # settings module and load it. This assumes django has been installed
16 import django
19 if django.VERSION[1] < 7:
  /external/toolchain-utils/automation/clients/report/dejagnu/
report.py 100 from django import template
101 from django.template import loader
102 from django.conf import settings
104 logging.error('Django framework not installed!')
  /external/autotest/frontend/db/backends/afe/
compiler.py 1 from django.db.backends.mysql import compiler as mysql_compiler
  /external/autotest/frontend/db/backends/afe_sqlite/
compiler.py 1 from django.db.models.sql import compiler
  /external/autotest/frontend/afe/json_rpc/
proxy.py 36 # Try to upgrade to the Django JSON encoder. It uses the standard json encoder
40 from django import conf as django_conf
41 # The serializers can't be imported if django isn't configured.
43 # django environment (setup_django_lite_environment) which raises import
44 # errors if the django dbutils have been previously imported, as importing
48 from django.core.serializers import json as django_encoder
serviceHandler.py 27 from django.core import exceptions as django_exceptions
28 # Django JSON encoder uses the standard json encoder but can handle DateTime
29 from django.core.serializers import json as django_encoder

Completed in 1456 milliseconds

12 3 4