forms.DecimalField.decimal_places
  • References/Python/Django/API/Forms/Form fields

decimal_places The maximum number of decimal places permitted.

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

int_to_base36(i) [source] Converts a positive integer to a base 36 string. On Python 2 i

2025-01-10 15:47:30
db.models.Model.get_FOO_display()
  • References/Python/Django/API/Models/Model instance reference

Model.get_FOO_display() For every field that has

2025-01-10 15:47:30
gis.geoip2.GeoIP2.geos()
  • References/Python/Django/API/Geolocation with GeoIP2

GeoIP2.geos(query) Returns a

2025-01-10 15:47:30
utils.feedgenerator.SyndicationFeed.num_items()
  • References/Python/Django/API/Django Utils

num_items() [source]

2025-01-10 15:47:30
forms.MultiWidget
  • References/Python/Django/API/Forms/Widgets

class MultiWidget(widgets, attrs=None) [source] A widget that is composed of multiple widgets

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

InlineModelAdmin.can_delete Specifies whether or not inline objects can be deleted in the inline. Defaults to True

2025-01-10 15:47:30
template.Context.update()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Context.update(other_dict) [source] In addition to push() and pop()

2025-01-10 15:47:30
forms.TypedChoiceField
  • References/Python/Django/API/Forms/Form fields

class TypedChoiceField(**kwargs) [source] Just like a ChoiceField, except

2025-01-10 15:47:30
views.generic.base.RedirectView.pattern_name
  • References/Python/Django/API/Built-in class-based views API/Base views

pattern_name The name of the URL pattern to redirect to. Reversing will be done using the same args and kwargs as are passed

2025-01-10 15:47:30