18 Haziran 2020 07:34

Muslu Y.

Django

django.core.exceptions.AppRegistryNotReady: The translation infrastruct

Anasayfa

Django

django.core.exceptions.AppRegistryNotReady: The tr...

Django projesi oluştururken aşağıdaki hatayı alıyorsanız muhtemelen eski projenizdeki settings.py dosyanızı kopyaladınız ve içerisinde translate kullanmak istediğiniz terimler var ve henüz translate için gerekli klasör ve dosyaları oluşturmanız. 

 

Önce projenizi oluşturabilmek için settings.py translate edilecek satırları durdurun. Daha sonra migrate, makemigrations vs. komutunuzu çalıştırın ve satırları tekrar aktif edin.

 

django.core.exceptions.AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.
     

Django

hakkında diğer konular

Makdos Bilişim Teknolojileri 2015 - 2025