utils.encoding.smart_str()
  • References/Python/Django/API/Django Utils

smart_str(s, encoding='utf-8', strings_only=False, errors='strict') Alias of smart_bytes() on Python 2 and

2025-01-10 15:47:30
gis.geoip.GeoIP.country_name_by_addr()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.country_name_by_addr(query)

2025-01-10 15:47:30
gis.gdal.Field.value
  • References/Python/Django/API/GDAL API

value Returns the value of this field. The Field class itself returns the value as a string, but each subclass

2025-01-10 15:47:30
Templates
  • References/Python/Django/API/Templates

Django’s template engine provides a powerful mini-language for defining the user-facing layer of your application, encouraging a clean separation of application and presentation

2025-01-10 15:47:30
admin.ModelAdmin
  • References/Python/Django/API/contrib packages/The Django admin site

class ModelAdmin [source] The ModelAdmin class is the representation of a model

2025-01-10 15:47:30
admin.ModelAdmin.filter_vertical
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.filter_vertical Same as

2025-01-10 15:47:30
db.models.ForeignKey.db_constraint
  • References/Python/Django/API/Models/Model field reference

ForeignKey.db_constraint Controls whether or not a constraint should be created in the database for this foreign key. The default

2025-01-10 15:47:30
utils.encoding.python_2_unicode_compatible()
  • References/Python/Django/API/Django Utils

python_2_unicode_compatible() [source] A decorator that defines __unicode__

2025-01-10 15:47:30
admin.ModelAdmin.save_as_continue
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.save_as_continue New in Django 1.10. When

2025-01-10 15:47:30
core.files.storage.Storage.get_accessed_time()
  • References/Python/Django/API/File handling/File storage API

get_accessed_time(name) [source] New in Django

2025-01-10 15:47:30