Django 3.0.x DocumentationMatches zero or any positive integer. Returns an int. slug - Matches any slug string consisting of ASCII letters or numbers, plus the hyphen and underscore characters. For example, building-your-1st-django- current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your0 码力 | 3085 页 | 2.95 MB | 1 年前3
Django 1.11.x Documentationcurrent implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.11.x Documentationcurrent implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentationcurrent implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.10.x Documentationcurrent implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.0.x DocumentationMatches zero or any positive integer. Returns an int. • slug - Matches any slug string consisting of ASCII letters or numbers, plus the hyphen and underscore char- acters. For example, building-your-1st-django-site current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.0.x DocumentationMatches zero or any positive integer. Returns an int. slug - Matches any slug string consisting of ASCII letters or numbers, plus the hyphen and underscore characters. For example, building-your-1st-django- current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 1.8.x Documentationthe opposite: object has a __unicode__ method that calls __str__ and interprets the result as an ASCII bytestring. This difference can create confusion. If all of this is gibberish to you, just use Python Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationthe opposite: object has a __unicode__ method that calls __str__ and interprets the result as an ASCII bytestring. This difference can create confusion. If all of this is gibberish to you, just use Python Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your And some problems disappear – you never get mangled output again when your application receives non-ASCII input. When you enable time zone support, you’ll encounter some errors because you’re using naive0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x DocumentationMatches zero or any positive integer. Returns an int. • slug - Matches any slug string consisting of ASCII letters or numbers, plus the hyphen and underscore char- acters. For example, building-your-1st-django-site current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters). session_data A string containing an encoded and serialized session dictionary. expire_date Mind your charset Due to the way the gettext tools work internally and because we want to allow non-ASCII source strings in Django’s core and your applications, you must use UTF-8 as the encoding for your0 码力 | 1910 页 | 6.49 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5













