• Aymeric Augustin's avatar
    Changed get_model to raise an exception on errors. · ba7206cd
    Aymeric Augustin yazdı
    Returning None on errors required unpythonic error checking and was
    inconsistent with get_app_config.
    
    get_model was a private API until the previous commit, but given that it
    was certainly used in third party software, the change is explained in
    the release notes.
    
    Applied the same change to get_registered_model, which is a new private
    API introduced during the recent refactoring.
    ba7206cd
Adı
Son kayıt (commit)
Son güncelleme
..
_ext Loading commit data...
_theme/djangodocs Loading commit data...
faq Loading commit data...
howto Loading commit data...
internals Loading commit data...
intro Loading commit data...
man Loading commit data...
misc Loading commit data...
ref Loading commit data...
releases Loading commit data...
topics Loading commit data...
Makefile Loading commit data...
README Loading commit data...
conf.py Loading commit data...
contents.txt Loading commit data...
glossary.txt Loading commit data...
index.txt Loading commit data...
make.bat Loading commit data...