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
4f8e8a6e
Kaydet (Commit)
4f8e8a6e
authored
Şub 09, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unused imports + other flake8 fixes.
üst
a7e29571
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
special.py
django/db/migrations/operations/special.py
+0
-2
tests.py
tests/decorators/tests.py
+2
-1
test_checks.py
tests/migrations/test_checks.py
+1
-1
test_operations.py
tests/migrations/test_operations.py
+1
-0
No files found.
django/db/migrations/operations/special.py
Dosyayı görüntüle @
4f8e8a6e
import
re
import
textwrap
from
.base
import
Operation
from
django.utils
import
six
class
SeparateDatabaseAndState
(
Operation
):
...
...
tests/decorators/tests.py
Dosyayı görüntüle @
4f8e8a6e
...
...
@@ -174,6 +174,7 @@ def myattr2_dec(func):
myattr2_dec_m
=
method_decorator
(
myattr2_dec
)
class
ClsDec
(
object
):
def
__init__
(
self
,
myattr
):
self
.
myattr
=
myattr
...
...
@@ -233,7 +234,7 @@ class MethodDecoratorTests(TestCase):
# t = Test()
self
.
assertEqual
(
Test
()
.
method
(),
False
)
class
XFrameOptionsDecoratorsTests
(
TestCase
):
"""
...
...
tests/migrations/test_checks.py
Dosyayı görüntüle @
4f8e8a6e
# encoding: utf8
from
django.core
import
checks
from
django.core.checks.migrations
import
check_migrations
from
django.test
import
TestCase
,
override_settings
from
django.test
import
override_settings
from
.test_base
import
MigrationTestBase
...
...
tests/migrations/test_operations.py
Dosyayı görüntüle @
4f8e8a6e
...
...
@@ -478,6 +478,7 @@ class OperationTests(MigrationTestBase):
"""
project_state
=
self
.
set_up_test_model
(
"test_runpython"
)
# Create the operation
def
inner_method
(
models
,
schema_editor
):
Pony
=
models
.
get_model
(
"test_runpython"
,
"Pony"
)
...
...
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