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
4e65f195
Kaydet (Commit)
4e65f195
authored
Ara 26, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed django.db.models.loading per deprecation timeline.
üst
d4ee6cda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
loading.py
django/db/models/loading.py
+0
-40
No files found.
django/db/models/loading.py
deleted
100644 → 0
Dosyayı görüntüle @
d4ee6cda
import
warnings
from
django.apps
import
apps
from
django.utils.deprecation
import
RemovedInDjango19Warning
warnings
.
warn
(
"The utilities in django.db.models.loading are deprecated "
"in favor of the new application loading system."
,
RemovedInDjango19Warning
,
stacklevel
=
2
)
__all__
=
(
'get_apps'
,
'get_app'
,
'get_models'
,
'get_model'
,
'register_models'
,
'load_app'
,
'app_cache_ready'
)
# Backwards-compatibility for private APIs during the deprecation period.
UnavailableApp
=
LookupError
cache
=
apps
# These methods were always module level, so are kept that way for backwards
# compatibility.
get_apps
=
apps
.
get_apps
get_app_package
=
apps
.
get_app_package
get_app_path
=
apps
.
get_app_path
get_app_paths
=
apps
.
get_app_paths
get_app
=
apps
.
get_app
get_models
=
apps
.
get_models
get_model
=
apps
.
get_model
register_models
=
apps
.
register_models
load_app
=
apps
.
load_app
app_cache_ready
=
apps
.
app_cache_ready
# This method doesn't return anything interesting in Django 1.6. Maintain it
# just for backwards compatibility until this module is deprecated.
def
get_app_errors
():
try
:
return
apps
.
app_errors
except
AttributeError
:
apps
.
app_errors
=
{}
return
apps
.
app_errors
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