./www/py-django2, Django, a high-level Python Web framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.2, Package name: py37-django-2.1.2, Maintainer: joerg

Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design. Django was designed to make common Web-development
tasks fast and easy.


Required to run:
[devel/py-setuptools] [time/py-pytz] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1be0feba9cb817f422a116f6b3bddbe1bd353ca7
RMD160: 55589b984707e46eeed247f4ba0e4063f5d063ca
Filesize: 8409.459 KB

Version history: (Expand)


CVS history: (Expand)


   2018-10-02 10:09:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django2: updated to 2.1.2

Django 2.1.2:
CVE-2018-16984: Password hash disclosure to “view only” admin users
Fixed a regression where nonexistent joins in F() no longer raised FieldError
Fixed a regression where files starting with a tilde or underscore weren’t \ 
ignored by the migrations loader
Made migrations detect changes to Meta.default_related_name
Added compatibility for cx_Oracle 7
Fixed a regression in Django 2.0 where unique index names weren’t quoted
Fixed a regression where sliced queries with multiple columns with the same name \ 
crashed on Oracle 12.1
Fixed a crash when a user with the view (but not change) permission made a POST \ 
request to an admin user change form
   2018-09-04 02:12:29 by Min Sik Kim | Files touched by this commit (1)
Log message:
www/py-django2: Requires Python>=3.5
   2018-09-03 14:24:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django2: updated to 2.1.1

2.1.1:
Bugfixes
Fixed a race condition in QuerySet.update_or_create() that could result in data loss
Fixed a regression where QueryDict.urlencode() crashed if the dictionary \ 
contains a non-string value
Fixed a regression in Django 2.0 where using manage.py test --keepdb fails on \ 
PostgreSQL if the database exists and the user doesn’t have permission to \ 
create databases
Fixed a regression in Django 2.0 where combining Q objects with __in lookups and \ 
lists crashed
Fixed translation failure of DurationField’s “overflow” error message
Fixed a regression where the admin change form crashed if the user doesn’t \ 
have the ‘add’ permission to a model that uses TabularInline
Fixed a regression where a related_query_name reverse accessor wasn’t set up \ 
when a GenericRelation is declared on an abstract base model
Fixed the test client’s JSON serialization of a request data dictionary for \ 
structured content type suffixes
Made the admin change view redirect to the changelist view after a POST if the \ 
user has the ‘view’ permission
Fixed admin change view crash for view-only users if the form has an extra form field
Fixed a regression in Django 2.0.5 where QuerySet.values() or values_list() \ 
after combining querysets with extra() with union(), difference(), or \ 
intersection() crashed due to mismatching columns
Fixed crash if InlineModelAdmin.has_add_permission() doesn’t accept the obj \ 
argument
   2018-08-07 11:53:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django2: updated to 2.1

2.1:
Model “view” permission

django.contrib.admin
ModelAdmin.search_fields now accepts any lookup such as field__exact.
jQuery is upgraded from version 2.2.3 to 3.3.1.
The new ModelAdmin.delete_queryset() method allows customizing the deletion \ 
process of the “delete selected objects” action.
You can now override the default admin site.
The new ModelAdmin.sortable_by attribute and ModelAdmin.get_sortable_by() method \ 
allow limiting the columns that can be sorted in the change list page.
The admin_order_field attribute for elements in ModelAdmin.list_display may now \ 
be a query expression.
The new ModelAdmin.get_deleted_objects() method allows customizing the deletion \ 
process of the delete view and the “delete selected” action.
The actions.html, change_list_results.html, date_hierarchy.html, \ 
pagination.html, prepopulated_fields_js.html, search_form.html, and \ 
submit_line.html templates can now be overridden per app or per model (besides \ 
overridden globally).
The admin change list and change form object tools can now be overridden per \ 
app, per model, or globally with change_list_object_tools.html and \ 
change_form_object_tools.html templates.
InlineModelAdmin.has_add_permission() is now passed the parent object as the \ 
second positional argument, obj.
Admin actions may now specify permissions to limit their availability to certain \ 
users.

django.contrib.auth
createsuperuser now gives a prompt to allow bypassing the \ 
AUTH_PASSWORD_VALIDATORS checks.
UserCreationForm and UserChangeForm no longer need to be rewritten for a custom \ 
user model.

django.contrib.gis
The new GEOSGeometry.buffer_with_style() method is a version of buffer() that \ 
allows customizing the style of the buffer.
OpenLayersWidget is now based on OpenLayers 4.6.5 (previously 3.20.1).

django.contrib.sessions
Added the SESSION_COOKIE_SAMESITE setting to set the SameSite cookie flag on \ 
session cookies.

Cache
The local-memory cache backend now uses a least-recently-used (LRU) culling \ 
strategy rather than a pseudo-random one.
The new touch() method of the low-level cache API updates the timeout of cache keys.

CSRF
Added the CSRF_COOKIE_SAMESITE setting to set the SameSite cookie flag on CSRF \ 
cookies.

Forms
The widget for ImageField now renders with the HTML attribute \ 
accept="image/*".

Internationalization
Added the get_supported_language_variant() function.
Untranslated strings for territorial language variants now use the translations \ 
of the generic language. For example, untranslated pt_BR strings use pt \ 
translations.

Management Commands
The new inspectdb --include-views option allows creating models for database views.
The BaseCommand class now uses a custom help formatter so that the standard \ 
options like --verbosity or --settings appear last in the help output, giving a \ 
more prominent position to subclassed command’s options.

Migrations
Added support for serialization of functools.partialmethod objects.
To support frozen environments, migrations may be loaded from .pyc files.

Models
Models can now use __init_subclass__() from PEP 487.
A BinaryField may now be set to editable=True if you wish to include it in model \ 
forms.
A number of new text database functions are added: Chr, Left, LPad, LTrim, Ord, \ 
Repeat, Replace, Right, RPad, RTrim, and Trim.
The new TruncWeek function truncates DateField and DateTimeField to the Monday \ 
of a week.
Query expressions can now be negated using a minus sign.
QuerySet.order_by() and distinct(*fields) now support using field transforms.
BooleanField can now be null=True. This is encouraged instead of \ 
NullBooleanField, which will likely be deprecated in the future.
The new QuerySet.explain() method displays the database’s execution plan of a \ 
queryset’s query.
QuerySet.raw() now supports prefetch_related().

Requests and Responses
Added HttpRequest.get_full_path_info().
Added the samesite argument to HttpResponse.set_cookie() to allow setting the \ 
SameSite cookie flag.
The new as_attachment argument for FileResponse sets the Content-Disposition \ 
header to make the browser ask if the user wants to download the file. \ 
FileResponse also tries to set the Content-Type and Content-Length headers where \ 
appropriate.

Templates
The new json_script filter safely outputs a Python object as JSON, wrapped in a \ 
<script> tag, ready for use with JavaScript.
   2018-07-03 08:47:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django2: updated tp 2.0.7

Django 2.0.7:

Bugfixes
Fixed admin changelist crash when using a query expression without asc() or \ 
desc() in the page’s ordering.
Fixed admin check crash when using a query expression in ModelAdmin.ordering.
Fixed __regex and __iregex lookups with MySQL 8.
Fixed migrations crash with namespace packages on Python 3.7
   2018-06-04 17:21:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django2: updated to 2.0.6

2.0.6:
Bugfixes
* Fixed a regression that broke custom template filters that use decorators
* Fixed detection of custom URL converters in included patterns
* Fixed a regression that added an unnecessary subquery to the GROUP BY
  clause on MySQL when using a RawSQL annotation.
* Fixed WKBWriter.write() and write_hex() for empty polygons on
  GEOS 3.6.1+.
* Fixed a regression in Django 1.10 that could result in large memory usage
  when making edits using ModelAdmin.list_editable
   2018-05-02 08:31:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django2: updated to 2.0.5

2.0.5:
Bugfixes
* Corrected the import paths that inspectdb generates for \ 
django.contrib.postgres fields.
* Fixed a regression in Django 1.11.8 where altering a field with a unique \ 
constraint may drop and rebuild more foreign keys than necessary.
* Fixed crashes in django.contrib.admindocs when a view is a callable object, \ 
such as django.contrib.syndication.views.Feed.
* Fixed a regression in Django 1.11.12 where QuerySet.values() or values_list() \ 
after combining an annotated and unannotated queryset with union(), \ 
difference(), or intersection() crashed due to mismatching columns
   2018-04-03 10:57:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django2: updated to 2.0.4

Django 2.0.4:
Bugfixes:
Fixed a crash when filtering with an Exists() annotation of a queryset \ 
containing a single field.
Fixed admin autocomplete widget’s translations for zh-hans and zh-hant languages.
Corrected admin’s autocomplete widget to add a space after custom classes.
Fixed PasswordResetConfirmView crash when using a user model with a UUIDField \ 
primary key and the reset URL contains an encoded primary key value that decodes \ 
to an invalid UUID.
Fixed a regression in Django 1.11.8 where combining two annotated values_list() \ 
querysets with union(), difference(), or intersection() crashed due to \ 
mismatching columns.
Fixed a regression in Django 1.11 where an empty choice could be initially \ 
selected for the SelectMultiple and CheckboxSelectMultiple widgets.
Fixed a regression in Django 2.0 where OpenLayersWidget deserialization ignored \ 
the widget map’s SRID and assumed 4326