OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:django
(Results
1 - 25
of
82
) sorted by null
1
2
3
4
/external/python/oauth2client/oauth2client/contrib/django_util/
signals.py
21
import
django
.dispatch
24
It passes the
Django
request object and the OAuth2 credentials object to the
27
oauth2_authorized =
django
.dispatch.Signal(
apps.py
15
"""Application Config For
Django
OAuth2 Helper.
17
Django
1.7+ provides an
19
API so that
Django
projects can introspect on installed applications using a
25
#
Django
1.7+ only supports Python 2.7+
27
from
django
.apps import AppConfig
30
""" App Config for
Django
Helper"""
32
verbose_name = "Google OAuth2
Django
Helper"
site.py
15
"""Contains
Django
URL patterns used for OAuth2 flow."""
17
from
django
.conf import urls
/external/autotest/frontend/db/backends/afe/
creation.py
1
from
django
.db.backends.mysql.creation import *
introspection.py
1
from
django
.db.backends.mysql.introspection import *
validation.py
1
from
django
.db.backends.mysql.validation import *
base.py
1
from
django
.db.backends.mysql.base import DatabaseCreation as MySQLCreation
2
from
django
.db.backends.mysql.base import DatabaseOperations as MySQLOperations
3
from
django
.db.backends.mysql.base import DatabaseWrapper as MySQLDatabaseWrapper
4
from
django
.db.backends.mysql.base import DatabaseIntrospection as MySQLIntrospection
9
from
django
.core.exceptions import ImproperlyConfigured
/external/autotest/frontend/db/backends/afe_sqlite/
creation.py
1
from
django
.db.backends.sqlite3.creation import *
introspection.py
1
from
django
.db.backends.sqlite3.introspection import *
base.py
4
from
django
.db.backends.sqlite3.base import DatabaseOperations as SQLiteDatabaseOperations
5
from
django
.db.backends.sqlite3.base import DatabaseWrapper as SQLiteDatabaseWrapper
/external/python/oauth2client/tests/contrib/django_util/
__init__.py
15
"""Setups the
Django
test environment and provides helper classes."""
17
import
django
18
from
django
import test
19
from
django
.contrib.sessions.backends.file import SessionStore
20
from
django
.test.runner import DiscoverRunner
22
django
.setup()
29
django
.setup()
apps.py
17
Having a test application enables us to use the
Django
test database and
20
from
django
.apps import AppConfig
24
"""App Config for
Django
Helper."""
26
verbose_name = "
Django
Test App"
models.py
17
from
django
.contrib.auth.models import User
18
from
django
.db import models
test_django_util.py
19
import
django
.conf
20
from
django
.conf.urls import include, url
21
from
django
.contrib.auth.models import AnonymousUser
22
from
django
.core import exceptions
42
self.save_settings = copy.deepcopy(
django
.conf.settings)
43
# OAuth2 Settings gets configured based on
Django
settings
49
django
.conf.settings = copy.deepcopy(self.save_settings)
53
django
.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json'
62
oauth2_settings = django_util.OAuth2Settings(
django
.conf.settings)
66
django
.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = Non
[
all
...]
/external/autotest/frontend/
setup_django_lite_environment.py
10
import
django
.core.management
12
django
.core.management.call_command('syncdb', interactive=False, verbosity=0)
manage.py
6
from
django
.core.management import execute_from_command_line
urls.py
2
from
django
.conf import urls
3
from
django
.conf import settings
6
from
django
.contrib import admin
12
handler404 = '
django
.views.defaults.page_not_found'
urls_common.py
2
from
django
.conf import urls
3
from
django
.views import generic
10
@param django_name the full name of the
Django
application
28
(r'^client/(?P<path>.*)$', '
django
.views.static.serve',
views_common.py
1
from
django
.http import HttpResponse
/external/toolchain-utils/automation/server/monitor/
urls.py
6
from
django
.conf import settings
7
from
django
.conf.urls.defaults import patterns
20
(r'^static/(?P<path>.*)$', '
django
.views.static.serve',
/external/autotest/contrib/
modelviz.py
2
"""
Django
model to DOT (Graphviz) converter
33
from
django
.core.management import setup_environ
42
from
django
.template import Template, Context
43
from
django
.db import models
44
from
django
.db.models import get_models
45
from
django
.db.models.fields.related import \
49
from
django
.db.models.fields.generic import GenericRelation
51
from
django
.contrib.contenttypes.generic import GenericRelation
/external/autotest/utils/modelviz/
generate_schema_diagrams.py
4
Generates schema diagrams for
Django
apps. Just run the script with no
6
Graphviz package and
Django
.
28
import
django
.conf
29
from
django
.db.models import loading
30
reload(
django
.conf)
/external/autotest/frontend/tko/
urls.py
1
from
django
.conf import urls
/external/autotest/frontend/afe/
readonly_connection.py
8
# establish connections outside of
Django
, as that might lead to effects where
9
# connections get leaked, which will lead to
Django
not cleaning them up
12
from
django
import db as django_db
/external/autotest/frontend/migrations/
061_drone_sets_permissions_proper.py
1
from
django
.core import management
21
from
django
.contrib.contenttypes import management as content_management
22
from
django
.contrib.auth import management as auth_management
23
from
django
.db import models as db_models
Completed in 805 milliseconds
1
2
3
4