Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
cde31daf
Kaydet (Commit)
cde31daf
authored
Haz 01, 2017
tarafından
Tim Graham
Kaydeden (comit)
GitHub
Haz 01, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Sorted imports per isort 4.2.9.
üst
4ef093b0
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
63 additions
and
52 deletions
+63
-52
base.py
django/contrib/gis/db/backends/mysql/base.py
+3
-2
features.py
django/contrib/gis/db/backends/mysql/features.py
+3
-2
operations.py
django/contrib/gis/db/backends/mysql/operations.py
+3
-2
base.py
django/contrib/gis/db/backends/oracle/base.py
+3
-2
features.py
django/contrib/gis/db/backends/oracle/features.py
+3
-2
operations.py
django/contrib/gis/db/backends/oracle/operations.py
+3
-2
base.py
django/contrib/gis/db/backends/postgis/base.py
+3
-2
features.py
django/contrib/gis/db/backends/postgis/features.py
+3
-2
operations.py
django/contrib/gis/db/backends/postgis/operations.py
+3
-2
features.py
django/contrib/gis/db/backends/spatialite/features.py
+3
-2
operations.py
django/contrib/gis/db/backends/spatialite/operations.py
+3
-2
inspectdb.py
django/contrib/gis/management/commands/inspectdb.py
+3
-2
runserver.py
django/contrib/staticfiles/management/commands/runserver.py
+3
-2
filebased.py
django/core/mail/backends/filebased.py
+3
-2
test_creation.py
tests/backends/test_creation.py
+6
-4
models.py
tests/base/models.py
+0
-1
tests.py
tests/foreign_object/tests.py
+0
-1
test_compilation.py
tests/i18n/test_compilation.py
+3
-2
test_extraction.py
tests/i18n/test_extraction.py
+3
-2
models.py
tests/model_inheritance/models.py
+0
-1
tablespaces.py
tests/model_options/models/tablespaces.py
+0
-1
models.py
tests/prefetch_related/models.py
+0
-2
models.py
tests/proxy_models/models.py
+0
-1
models.py
tests/select_related/models.py
+0
-1
test_data.py
tests/serializers/test_data.py
+0
-1
tests.py
tests/sessions_tests/tests.py
+6
-4
test_storage.py
tests/staticfiles_tests/test_storage.py
+3
-2
models.py
tests/unmanaged_models/models.py
+0
-1
No files found.
django/contrib/gis/db/backends/mysql/base.py
Dosyayı görüntüle @
cde31daf
from
django.db.backends.mysql.base
import
\
DatabaseWrapper
as
MySQLDatabaseWrapper
from
django.db.backends.mysql.base
import
(
DatabaseWrapper
as
MySQLDatabaseWrapper
,
)
from
.features
import
DatabaseFeatures
from
.introspection
import
MySQLIntrospection
...
...
django/contrib/gis/db/backends/mysql/features.py
Dosyayı görüntüle @
cde31daf
from
django.contrib.gis.db.backends.base.features
import
BaseSpatialFeatures
from
django.db.backends.mysql.features
import
\
DatabaseFeatures
as
MySQLDatabaseFeatures
from
django.db.backends.mysql.features
import
(
DatabaseFeatures
as
MySQLDatabaseFeatures
,
)
class
DatabaseFeatures
(
BaseSpatialFeatures
,
MySQLDatabaseFeatures
):
...
...
django/contrib/gis/db/backends/mysql/operations.py
Dosyayı görüntüle @
cde31daf
from
django.contrib.gis.db.backends.base.adapter
import
WKTAdapter
from
django.contrib.gis.db.backends.base.operations
import
\
BaseSpatialOperations
from
django.contrib.gis.db.backends.base.operations
import
(
BaseSpatialOperations
,
)
from
django.contrib.gis.db.backends.utils
import
SpatialOperator
from
django.contrib.gis.db.models
import
GeometryField
,
aggregates
from
django.db.backends.mysql.operations
import
DatabaseOperations
...
...
django/contrib/gis/db/backends/oracle/base.py
Dosyayı görüntüle @
cde31daf
from
django.db.backends.oracle.base
import
\
DatabaseWrapper
as
OracleDatabaseWrapper
from
django.db.backends.oracle.base
import
(
DatabaseWrapper
as
OracleDatabaseWrapper
,
)
from
.features
import
DatabaseFeatures
from
.introspection
import
OracleIntrospection
...
...
django/contrib/gis/db/backends/oracle/features.py
Dosyayı görüntüle @
cde31daf
from
django.contrib.gis.db.backends.base.features
import
BaseSpatialFeatures
from
django.db.backends.oracle.features
import
\
DatabaseFeatures
as
OracleDatabaseFeatures
from
django.db.backends.oracle.features
import
(
DatabaseFeatures
as
OracleDatabaseFeatures
,
)
class
DatabaseFeatures
(
BaseSpatialFeatures
,
OracleDatabaseFeatures
):
...
...
django/contrib/gis/db/backends/oracle/operations.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -9,8 +9,9 @@
"""
import
re
from
django.contrib.gis.db.backends.base.operations
import
\
BaseSpatialOperations
from
django.contrib.gis.db.backends.base.operations
import
(
BaseSpatialOperations
,
)
from
django.contrib.gis.db.backends.oracle.adapter
import
OracleSpatialAdapter
from
django.contrib.gis.db.backends.utils
import
SpatialOperator
from
django.contrib.gis.db.models
import
aggregates
...
...
django/contrib/gis/db/backends/postgis/base.py
Dosyayı görüntüle @
cde31daf
from
django.db.backends.base.base
import
NO_DB_ALIAS
from
django.db.backends.postgresql.base
import
\
DatabaseWrapper
as
Psycopg2DatabaseWrapper
from
django.db.backends.postgresql.base
import
(
DatabaseWrapper
as
Psycopg2DatabaseWrapper
,
)
from
.features
import
DatabaseFeatures
from
.introspection
import
PostGISIntrospection
...
...
django/contrib/gis/db/backends/postgis/features.py
Dosyayı görüntüle @
cde31daf
from
django.contrib.gis.db.backends.base.features
import
BaseSpatialFeatures
from
django.db.backends.postgresql.features
import
\
DatabaseFeatures
as
Psycopg2DatabaseFeatures
from
django.db.backends.postgresql.features
import
(
DatabaseFeatures
as
Psycopg2DatabaseFeatures
,
)
class
DatabaseFeatures
(
BaseSpatialFeatures
,
Psycopg2DatabaseFeatures
):
...
...
django/contrib/gis/db/backends/postgis/operations.py
Dosyayı görüntüle @
cde31daf
import
re
from
django.conf
import
settings
from
django.contrib.gis.db.backends.base.operations
import
\
BaseSpatialOperations
from
django.contrib.gis.db.backends.base.operations
import
(
BaseSpatialOperations
,
)
from
django.contrib.gis.db.backends.utils
import
SpatialOperator
from
django.contrib.gis.gdal
import
GDALRaster
from
django.contrib.gis.measure
import
Distance
...
...
django/contrib/gis/db/backends/spatialite/features.py
Dosyayı görüntüle @
cde31daf
from
django.contrib.gis.db.backends.base.features
import
BaseSpatialFeatures
from
django.db.backends.sqlite3.features
import
\
DatabaseFeatures
as
SQLiteDatabaseFeatures
from
django.db.backends.sqlite3.features
import
(
DatabaseFeatures
as
SQLiteDatabaseFeatures
,
)
from
django.utils.functional
import
cached_property
...
...
django/contrib/gis/db/backends/spatialite/operations.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -5,8 +5,9 @@ https://www.gaia-gis.it/gaia-sins/spatialite-sql-4.2.1.html
"""
import
re
from
django.contrib.gis.db.backends.base.operations
import
\
BaseSpatialOperations
from
django.contrib.gis.db.backends.base.operations
import
(
BaseSpatialOperations
,
)
from
django.contrib.gis.db.backends.spatialite.adapter
import
SpatiaLiteAdapter
from
django.contrib.gis.db.backends.utils
import
SpatialOperator
from
django.contrib.gis.db.models
import
aggregates
...
...
django/contrib/gis/management/commands/inspectdb.py
Dosyayı görüntüle @
cde31daf
from
django.core.management.commands.inspectdb
import
\
Command
as
InspectDBCommand
from
django.core.management.commands.inspectdb
import
(
Command
as
InspectDBCommand
,
)
class
Command
(
InspectDBCommand
):
...
...
django/contrib/staticfiles/management/commands/runserver.py
Dosyayı görüntüle @
cde31daf
from
django.conf
import
settings
from
django.contrib.staticfiles.handlers
import
StaticFilesHandler
from
django.core.management.commands.runserver
import
\
Command
as
RunserverCommand
from
django.core.management.commands.runserver
import
(
Command
as
RunserverCommand
,
)
class
Command
(
RunserverCommand
):
...
...
django/core/mail/backends/filebased.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -5,8 +5,9 @@ import os
from
django.conf
import
settings
from
django.core.exceptions
import
ImproperlyConfigured
from
django.core.mail.backends.console
import
\
EmailBackend
as
ConsoleEmailBackend
from
django.core.mail.backends.console
import
(
EmailBackend
as
ConsoleEmailBackend
,
)
class
EmailBackend
(
ConsoleEmailBackend
):
...
...
tests/backends/test_creation.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -8,10 +8,12 @@ from django.db import DEFAULT_DB_ALIAS, connection, connections
from
django.db.backends.base.creation
import
(
TEST_DATABASE_PREFIX
,
BaseDatabaseCreation
,
)
from
django.db.backends.mysql.creation
import
\
DatabaseCreation
as
MySQLDatabaseCreation
from
django.db.backends.oracle.creation
import
\
DatabaseCreation
as
OracleDatabaseCreation
from
django.db.backends.mysql.creation
import
(
DatabaseCreation
as
MySQLDatabaseCreation
,
)
from
django.db.backends.oracle.creation
import
(
DatabaseCreation
as
OracleDatabaseCreation
,
)
from
django.db.utils
import
DatabaseError
from
django.test
import
SimpleTestCase
,
TestCase
...
...
tests/base/models.py
Dosyayı görüntüle @
cde31daf
from
django.db
import
models
# The models definitions below used to crash. Generating models dynamically
# at runtime is a bad idea because it pollutes the app registry. This doesn't
# integrate well with the test suite but at least it prevents regressions.
...
...
tests/foreign_object/tests.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -13,7 +13,6 @@ from .models import (
Group
,
Membership
,
NewsArticle
,
Person
,
)
# Note that these tests are testing internal implementation details.
# ForeignObject is not part of public API.
...
...
tests/i18n/test_compilation.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -9,8 +9,9 @@ from unittest import mock
from
django.core.management
import
(
CommandError
,
call_command
,
execute_from_command_line
,
)
from
django.core.management.commands.makemessages
import
\
Command
as
MakeMessagesCommand
from
django.core.management.commands.makemessages
import
(
Command
as
MakeMessagesCommand
,
)
from
django.core.management.utils
import
find_command
from
django.test
import
SimpleTestCase
,
override_settings
from
django.test.utils
import
captured_stderr
,
captured_stdout
...
...
tests/i18n/test_extraction.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -11,8 +11,9 @@ from admin_scripts.tests import AdminScriptTestCase
from
django.core
import
management
from
django.core.management
import
execute_from_command_line
from
django.core.management.base
import
CommandError
from
django.core.management.commands.makemessages
import
\
Command
as
MakeMessagesCommand
from
django.core.management.commands.makemessages
import
(
Command
as
MakeMessagesCommand
,
)
from
django.core.management.utils
import
find_command
from
django.test
import
SimpleTestCase
,
override_settings
from
django.test.utils
import
captured_stderr
,
captured_stdout
...
...
tests/model_inheritance/models.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -13,7 +13,6 @@ Both styles are demonstrated here.
"""
from
django.db
import
models
#
# Abstract base classes
#
...
...
tests/model_options/models/tablespaces.py
Dosyayı görüntüle @
cde31daf
from
django.db
import
models
# Since the test database doesn't have tablespaces, it's impossible for Django
# to create the tables for models where db_tablespace is set. To avoid this
# problem, we mark the models as unmanaged, and temporarily revert them to
...
...
tests/prefetch_related/models.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -9,8 +9,6 @@ from django.db.models.query import ModelIterable, QuerySet
from
django.utils.functional
import
cached_property
# Basic tests
class
Author
(
models
.
Model
):
name
=
models
.
CharField
(
max_length
=
50
,
unique
=
True
)
first_book
=
models
.
ForeignKey
(
'Book'
,
models
.
CASCADE
,
related_name
=
'first_time_authors'
)
...
...
tests/proxy_models/models.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -6,7 +6,6 @@ providing a modified interface to the data from the base class.
"""
from
django.db
import
models
# A couple of managers for testing managing overriding in proxy model cases.
...
...
tests/select_related/models.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -13,7 +13,6 @@ from django.contrib.contenttypes.fields import (
from
django.contrib.contenttypes.models
import
ContentType
from
django.db
import
models
# Who remembers high school biology?
...
...
tests/serializers/test_data.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -29,7 +29,6 @@ from .models import (
)
from
.tests
import
register_tests
# A set of functions that can be used to recreate
# test data objects of various kinds.
# The save method is a raw base model save, to make
...
...
tests/sessions_tests/tests.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -11,12 +11,14 @@ from http import cookies
from
django.conf
import
settings
from
django.contrib.sessions.backends.base
import
UpdateError
from
django.contrib.sessions.backends.cache
import
SessionStore
as
CacheSession
from
django.contrib.sessions.backends.cached_db
import
\
SessionStore
as
CacheDBSession
from
django.contrib.sessions.backends.cached_db
import
(
SessionStore
as
CacheDBSession
,
)
from
django.contrib.sessions.backends.db
import
SessionStore
as
DatabaseSession
from
django.contrib.sessions.backends.file
import
SessionStore
as
FileSession
from
django.contrib.sessions.backends.signed_cookies
import
\
SessionStore
as
CookieSession
from
django.contrib.sessions.backends.signed_cookies
import
(
SessionStore
as
CookieSession
,
)
from
django.contrib.sessions.exceptions
import
InvalidSessionKey
from
django.contrib.sessions.middleware
import
SessionMiddleware
from
django.contrib.sessions.models
import
Session
...
...
tests/staticfiles_tests/test_storage.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -7,8 +7,9 @@ from io import StringIO
from
django.conf
import
settings
from
django.contrib.staticfiles
import
finders
,
storage
from
django.contrib.staticfiles.management.commands.collectstatic
import
\
Command
as
CollectstaticCommand
from
django.contrib.staticfiles.management.commands.collectstatic
import
(
Command
as
CollectstaticCommand
,
)
from
django.core.cache.backends.base
import
BaseCache
from
django.core.management
import
call_command
from
django.test
import
override_settings
...
...
tests/unmanaged_models/models.py
Dosyayı görüntüle @
cde31daf
...
...
@@ -5,7 +5,6 @@ is generated for the table on various manage.py operations.
from
django.db
import
models
# All of these models are created in the database by Django.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment