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
bfe5f72c
Kaydet (Commit)
bfe5f72c
authored
Haz 20, 2014
tarafından
Andrew Godwin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[1.7.x] Fixed #22863: Improve clarity of makemigrations for non-db params
üst
30d8b951
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
migrate.py
django/core/management/commands/migrate.py
+1
-1
migrations.txt
docs/topics/migrations.txt
+6
-0
No files found.
django/core/management/commands/migrate.py
Dosyayı görüntüle @
bfe5f72c
...
...
@@ -132,7 +132,7 @@ class Command(BaseCommand):
self
.
stdout
.
write
(
self
.
style
.
MIGRATE_HEADING
(
"Running migrations:"
))
if
not
plan
:
if
self
.
verbosity
>=
1
:
self
.
stdout
.
write
(
" No migrations
needed
."
)
self
.
stdout
.
write
(
" No migrations
to apply
."
)
# If there's changes that aren't in migrations yet, tell them how to fix it.
autodetector
=
MigrationAutodetector
(
executor
.
loader
.
project_state
(),
...
...
docs/topics/migrations.txt
Dosyayı görüntüle @
bfe5f72c
...
...
@@ -60,6 +60,12 @@ Migrations will run the same way on the same dataset and produce consistent
results, meaning that what you see in development and staging is, under the
same circumstances, exactly what will happen in production.
Django will make migrations for any change to your models or fields - even
options that don't affect the database - as the only way it can reconstruct
a field correctly is to have all the changes in the history, and you might
need those options in some data migrations later on (for example, if you've
set custom validators).
Backend Support
---------------
...
...
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