OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:django
(Results
51 - 75
of
82
) sorted by null
1
2
3
4
/external/autotest/scheduler/
scheduler_lib_unittest.py
17
from
django
.db import utils as django_utils
rdb.py
12
from
django
.core import exceptions as django_exceptions
13
from
django
.db.models import fields
14
from
django
.db.models import Q
rdb_unittest.py
20
from
django
.core import exceptions as django_exceptions
21
from
django
.db.models import fields
rdb_testing_utils.py
65
"""Initialized
django
so it uses an in memory SQLite database."""
69
self.database.connect(db_type='
django
')
309
from
django
.conf import settings
320
"""Teardown
django
database settings."""
323
from
django
.conf import settings
rdb_hosts.py
21
from
django
.core import exceptions as django_exceptions
39
"""A python host object representing a
django
model for the host."""
151
# TODO: Avoid leaking
django
out of rdb.QueryManagers. This is still
385
common
django
pattern. Most, if not all updates to the host happen
/external/autotest/apache/conf/
django-directives
12
#
Django
, when running under mod_python, requires the prefork MPM, so just
24
# Block all access to the
django
admin pages. The
django
admin module that we
56
# Note: this maximum-requests argument is required because of a memory leak in the
django
admin pages.
58
# memory that
Django
uses, as it is tied up in the daemon. We can prevent
77
PythonHandler
django
.core.handlers.modpython
/external/autotest/frontend/afe/
rdb_model_extensions.py
9
from
django
.core import exceptions as django_exceptions
10
from
django
.db import models as dbmodels
66
Ensure BooleanFields actually get bool values. The
Django
MySQL
rpc_utils.py
16
import
django
.db.utils
17
import
django
.http
48
Prepare a
Django
query to be returned via RPC as a sequence of nested
51
@param query - A
Django
model query object with a select_related() method.
104
response =
django
.http.HttpResponse(response_data, mimetype=content_type)
529
Ensure that a label called |name| exists in the
Django
models.
533
by
Django
model manipulation, rather than by making another create_label
550
except
django
.db.utils.IntegrityError as e:
[
all
...]
models.py
5
import
django
.core
7
from
django
.db import models as dbmodels, connection
8
except
django
.core.exceptions.ImproperlyConfigured:
9
raise ImportError('
Django
database not yet configured. Import either '
13
'depend on
django
models.')
14
from
django
.db import utils as django_utils
[
all
...]
rpc_interface.py
43
from
django
.db import connection as db_connection
44
from
django
.db import transaction
45
from
django
.db.models import Count
46
from
django
.db.utils import DatabaseError
[
all
...]
/external/autotest/frontend/tko/
csv_encoder.py
2
import
django
.http
18
response =
django
.http.HttpResponse(mimetype='text/csv')
rpc_interface.py
3
from
django
.db import models as dbmodels
222
# Take advantage of
Django
's literal escaping to prevent SQL injection
/external/autotest/tko/
site_parse_unittest.py
13
from
django
.conf import settings
26
from
django
.db import connections
/external/autotest/venv/lucifer/
handlers.py
211
with
Django
models.
304
transaction = autotest.deps_load('
django
.db.transaction')
351
django
= autotest.deps_load('
django
')
358
except (
django
.db.utils.DatabaseError, MySQLdb.OperationalError) as e:
362
django
.db.close_connection()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
DateTimeShortcuts.js
1
/*! Taken from
django
release 1.8.5
3
Copyright (c)
Django
Software Foundation and individual contributors.
16
3. Neither the name of
Django
nor the names of its contributors may be used
95
var $ =
django
.jQuery;
188
django
.jQuery(document).bind('keyup', function(event) {
308
django
.jQuery(document).bind('keyup', function(event) {
/external/autotest/frontend/server/
models.py
5
"""
Django
model for server database.
8
from
django
.db import models as dbmodels
/external/autotest/scheduler/shard/
simple_heartbeat_server.py
192
from
django
.core.serializers import json as django_encoder
shard_client.py
30
from
django
.core.exceptions import MultipleObjectsReturned
31
from
django
.db import transaction
131
Deserialize a list of JSON-formatted data to database using
Django
.
135
@param djmodel:
Django
model type.
shard_client_unittest.py
20
from
django
.core.exceptions import MultipleObjectsReturned
/external/autotest/database/
database_connection.py
21
# Under the
django
backend:
22
#
Django
1.3 does not have OperationalError and ProgrammingError.
117
from
django
.db import backend, connection, transaction
118
import
django
.db as django_db
140
'
django
': _DjangoBackend,
/external/autotest/site_utils/
server_manager_utils.py
18
import
django
.core.exceptions
210
except
django
.core.exceptions.ObjectDoesNotExist:
server_manager_unittest.py
10
import
django
.core.exceptions
24
"""Mock the filter call in
django
model.
30
"""Mock the get call in
django
model.
111
).AndRaise(
django
.core.exceptions.ObjectDoesNotExist)
/external/python/oauth2client/tests/contrib/django_util/
test_django_storage.py
17
# Mock a
Django
environment
20
from
django
.db import models
58
@mock.patch('
django
.db.models')
75
@mock.patch('
django
.db.models')
88
@mock.patch('
django
.db.models')
105
@mock.patch('
django
.db.models')
115
@mock.patch('
django
.db.models')
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
web_services.py
29
from
django
.utils import simplejson
224
# using the
Django
built-in JSON parser
/external/autotest/contrib/
db_cleanup.py
18
from
django
.db import connections, transaction
Completed in 1497 milliseconds
1
2
3
4