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
5d35181d
Kaydet (Commit)
5d35181d
authored
Eki 06, 2016
tarafından
Aymeric Augustin
Kaydeden (comit)
Tim Graham
Eki 06, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Documented AppRegistryNotReady.
üst
979ea956
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
applications.txt
docs/ref/applications.txt
+5
-3
exceptions.txt
docs/ref/exceptions.txt
+9
-0
No files found.
docs/ref/applications.txt
Dosyayı görüntüle @
5d35181d
...
...
@@ -347,6 +347,8 @@ Application registry
:exc:`ValueError` when called with a single argument that doesn't contain
exactly one dot.
.. _app-loading-process:
Initialization process
======================
...
...
@@ -425,9 +427,9 @@ Troubleshooting
Here are some common problems that you may encounter during initialization:
*
``AppRegistryNotReady`` This happens when importing an applicatio
n
configuration or a models module triggers code that depends on the app
registry.
*
:class:`~django.core.exceptions.AppRegistryNotReady`: This happens whe
n
importing an application configuration or a models module triggers code that
depends on the app
registry.
For example, :func:`~django.utils.translation.ugettext()` uses the app
registry to look up translation catalogs in applications. To translate at
...
...
docs/ref/exceptions.txt
Dosyayı görüntüle @
5d35181d
...
...
@@ -12,6 +12,15 @@ Django Core Exceptions
Django core exception classes are defined in ``django.core.exceptions``.
``AppRegistryNotReady``
-----------------------
.. exception:: AppRegistryNotReady
This exception is raised when attempting to use models before the :ref:`app
loading process <app-loading-process>`, which initializes the ORM, is
complete.
``ObjectDoesNotExist``
----------------------
...
...
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