Django

Code

Feature Grouping

This page was created as a way to collect tickets, wiki pages, etc. that have similar goals. A ticket keyword just isn't enough sometimes. Add a group, description, analysis, and/or links about a feature you are interested in. If there is too much information about the feature to fit on this page, then create a wiki page dedicated to that feature and link to it here.

Please note that there is already a grouping of VersionOneFeatures.

auto_now and auto_now_add

#6434
auto_now and auto_now_add should me marked for soon-to-be-deprecated
#10970
auto_now_add for DateField evaluetes to datetime.datetime instance

contrib.comments rewrite

  • #3546 - Add timestamp and user for edits to Comment/FreeComment in contrib.comments
  • #1829 - refactor comment urls
  • #2134 - add comment object to comments/posted template
  • #1853 - admin documentation section errors for 'comments' tags
  • #2177 - include Free Preview and Posted Templates for Comments App (has patch)
  • #2228 - Add e-mail and URL to free comments (with patch, design. dec. needed)
  • #3091 - Add 'extra_context' and 'context_processors' to django.contrib.comments (with patch)
  • #3473 - Karma creation broken (with patch)
  • #3546 - Add timestamp and user for edits to Comment/FreeComment
  • #4189 - Fix for COMMENTS_BANNED_USERS_GROUP exploding the ORM when using the templatetag

edit_inline Issues

Many of these will be obsoleted by newforms-admin and subsequent changes after 0.96

  • Multiple FileFields? & edit_inline interaction overwriting preceeding files (#2413, #792)
  • interacting with a specific unique_together ordering (#2470, #526, #2415)
  • problems with unique (#565)
  • edit_inline deleting stuff (#3425)
  • validator issues: (#265, #1690, #3043)
  • Manipulator allowing "stealing" of related objects (#3145)
  • Multiple Foreign Keys (#1939 & another 3 or 4 tickets marked as dupes)
  • Not using a sensible default state (#2159)
  • Causing KeyError?, when follow=False in manipulator constructor or editable=False in model definintion (#2434, #1603)
  • OneToOne? fields (#24)
  • Ignoring things with core=True (#2724)
  • Non-working prepopulate from (#957)
  • A possible better way of doing things (which Adrian says is "fantastic") #2248 (*note: backwards incompatible change)
  • Problem with auto_now_add (#1030)
  • Admin ordering not working (#2679)
  • feature: Javascript adding/deleting in admin interface (#13)
  • collapsing in admin interface (#494)
  • OneToOne? edit_inline - can not add new object in Django admin (#3662)
  • OneToOne? field - ChangeManipulator? looks for related primary key (#3188)

Incorrect SQL construction

There are a bunch of these, so here's a placeholder for them. Many are already assigned to mtredinnick; the remainder should be. I'm working on a rewrite of the query creation portion of QuerySets -- Malcolm.

Manipulators

Current manipulator tickets should be tested with newforms to make sure the problems aren't repeated

Feature requests that need a decision on whether or not to add to newforms

Tickets still need to be looked at: http://code.djangoproject.com/query?status=new&status=assigned&status=reopened&summary=%7EManipulator&order=priority

Pagination

There are a few tickets aiming to add features to the Paginator class, and even a new implementation by Adrian in #1374. There is also code for a PaginatorTag.

#2367
[patch] pagination for date based generic views
#3169
[patch] A template tag for listing/linking to nearby pages in pagination should be provided.
#4065
Ability to disable admin pagination
#4481
Databrowse should use pagination
#5425
[newforms-admin] - incorrect plurals in admin pagination template
#6860
Improvements for the new paginator
#7005
add orphans support for object_list pagination
#8535
Paginate InlineModelAdmin objects
#9195
Paginator.page() should raise PageNotAnInteger when given a NoneType value
#9365
Permutated columns when using Paginator with ValuesQuerySet
#10995
Improve paginator to account for very large page_range's
#11252
Invalid XHTML when filtering a paginated list

#17
Metasystem optimization: Share select_related in memory
#4196
[patch] Use select_related() when retrieving a user profile
#9961
select_related(depth=0) should be a no-op
#10414
select_related ignores unrecognized fields

Splitting models into separate files

Tickets:

unique_together

#702
make unique_together work with ManyToMany
#1021
[PATCH] unique_together should check the uniqueness in the validation phase
#4192
manage.py sqlindexes does not create the index for unique_together fields
#8437
Feature Request: distinct_between('team_home', 'team_away') similar to unique_together

Web services / REST

Tickets:

  • Models CRUD via web services (#115) with a lot of duplicates
  • [patch] XMLRPC support for django (#547) for part of a solution (set as duplicate of #115)

On the web:

On mailing-lists: