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
e50e0ee2
Kaydet (Commit)
e50e0ee2
authored
Eki 11, 2014
tarafından
Claude Paroz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #23618 -- Allowed apps with no models to still have migrations
Basically
a4737bf6
reapplied.
üst
adf8fb34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
loader.py
django/db/migrations/loader.py
+0
-2
1.8.txt
docs/releases/1.8.txt
+3
-0
No files found.
django/db/migrations/loader.py
Dosyayı görüntüle @
e50e0ee2
...
...
@@ -63,8 +63,6 @@ class MigrationLoader(object):
self
.
unmigrated_apps
=
set
()
self
.
migrated_apps
=
set
()
for
app_config
in
apps
.
get_app_configs
():
if
app_config
.
models_module
is
None
:
continue
# Get the migrations module directory
module_name
=
self
.
migrations_module
(
app_config
.
label
)
was_loaded
=
module_name
in
sys
.
modules
...
...
docs/releases/1.8.txt
Dosyayı görüntüle @
e50e0ee2
...
...
@@ -276,6 +276,9 @@ Migrations
* The :class:`~django.db.migrations.operations.RunSQL` operation can now handle
parameters passed to the SQL statements.
* It is now possible to have migrations (most probably :ref:`data migrations
<data-migrations>`) for applications without models.
Models
^^^^^^
...
...
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