84 rows where "changetime" is on date 2006-10-24

View and edit SQL

Suggested facets: changetime, component, type, severity, version, has_patch

changetime (date)

  • 2006-10-24 · 84
id ▼ created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
416 2005-08-25 09:59:06 2006-10-24 20:17:23 2019-06-24 00:19:42.593818 Unreviewed closed contrib.admin task normal 0.91 wontfix Automate site introspection for url pattern modules, view methods, template directories, and applications Read this with your best over-the-top advertising voice: Are you sick of maintaining module-level URL configuration files? Do you keep forgetting to refer to them in your site-level URL configuration file? Have you recently forgotten to populate TEMPLATE_DIRS or INSTALLED_APPS? You need AUTOSITE! AUTOSITE has been brought to you by one programmer's bizarre tendency to spend two hours writing 300+ lines of code to replace around 30 lines of code that were taking him less than two minutes per day to maintain. His insanity is YOUR gain. If only 100 Django programmers benefit from this module, all his hard work will have been worthwhile. :) adrian garthk@gmail.com     0 0 0 0 0
500 2005-09-13 20:30:46 2006-10-24 20:17:23 2019-06-24 00:20:36.051146 Unreviewed closed Template system enhancement normal   fixed [patch] Templates files extensions other than '.html' should be possible Currently templates are "forced" to end with '.html', which confuses syntax highlighting support in most editors when editing templates that are __not__ HTML. It would be nice if people could define the allowed template file extensions themselves. adrian janc@lugwv.be   0 1 0 0 0 0
648 2005-10-19 08:39:43 2006-10-24 21:30:38 2019-06-24 00:22:10.839714 Unreviewed closed Template system defect minor   fixed [patch] Add a comment tag like {# commented #} The default {% comment %} {% endcomment %} block is too much writing. adrian hegemon   0 1 0 0 0 0
828 2005-11-17 14:43:52 2006-10-24 20:17:18 2019-06-24 00:24:05.466256 Unreviewed closed Database layer (models, ORM) defect normal   worksforme Same function used for GET and POST Django encourages the use of the same function for both GET and POST (not to mention DELETE) methods. For example, 'module.method' resolves to: {{{ def method(request): ... }}} In the web app framework I wrote, it resolves to: {{{ class method: def GET(self, request): ... def POST(self, request): ... ... }}} This ensures that POST functions don't accidentally leak into GETs. If both POST and GET want to reuse code, then they can add a new method to the class. This also allows this style: {{{ ... (r'^/method/(.*)', 'module.method') ... class method: GET = web.autodelegate("GET_") POST = web.autodelegate("POST_") def GET_(self, request): ... # index def GET_pagename(self, request): ... def POST_pagename(self, request): ... }}} which makes adding new URLs easy. The code for autodelegate is simply: {{{ def autodelegate(prefix=''): def internal(self, request, arg): func = prefix+arg if hasattr(self, func): return getattr(self, func)(request) else: raise NotFound return internal }}} adrian aaronsw   0 0 0 0 0 0
830 2005-11-17 23:35:48 2006-10-24 20:17:18 2019-06-24 00:24:06.727993 Unreviewed closed Documentation defect minor 0.90 fixed Add AUTHORS file to distribution Give credit were credit is due! add an AUTHORS and/or CONTRIBUTORS file to the distribution. jacob anonymous   0 0 0 0 0 0
835 2005-11-18 16:04:07 2006-10-24 20:17:23 2019-06-24 00:24:09.876160 Unreviewed closed Template system task normal master fixed [new-admin] Updated norwegian translation Here is an updated norwegian (no) translation, for the new-admin branch. hugo Espen Grindhaug   0 0 0 0 0 0
840 2005-11-18 23:15:12 2006-10-24 20:17:18 2019-06-24 00:24:13.059300 Unreviewed closed contrib.admin defect minor new-admin fixed [new_admin] django.contrib.admin.filterspecs missing In revision 1286, rjwittams moved filterspecs from django.contrib.admin.views.main into it's own module but forgot to add the new file and commit it. rjwittams T.R. Fullhart <kayos@genetikayos.com>   0 0 0 0 0 0
890 2005-11-24 04:47:21 2006-10-24 20:17:23 2019-06-24 00:24:45.320347 Unreviewed closed Database layer (models, ORM) defect normal master fixed database tables should be imported directly, not thru django.models.[app_name].[table_name.lower()]s If I define a database table in the foo module, I sort of expect it to be there for me to get it out again. Having it appear inside the django code with a different name is bizarre and confusing and annoying. adrian aaronsw   0 0 0 0 0 0
1009 2005-12-06 21:41:03 2006-10-24 20:17:18 2019-06-24 00:26:00.536675 Unreviewed closed Validators defect minor 0.90 fixed Small bug in HasAllowableSize Validator When I meant small, I meant really really tiny. The last line in the init definition references min_size when it should reference max_size {{{ #!python class HasAllowableSize: """ Checks that the file-upload field data is a certain size. min_size and max_size are measurements in bytes. """ def __init__(self, min_size=None, max_size=None, min_error_message=None, max_error_message=None): self.min_size, self.max_size = min_size, max_size self.min_error_message = min_error_message or lazy_inter(gettext_lazy("Make sure your uploaded file is at least %s bytes big."), min_size) self.max_error_message = max_error_message or lazy_inter(gettext_lazy("Make sure your uploaded file is at most %s bytes big."), min_size) }}} That should actually be {{{ #!python self.max_error_message = max_error_message or lazy_inter(gettext_lazy("Make sure your uploaded file is at most %s bytes big."), max_size) }}} Technically it should be self.max_size, but it doesn't make a difference. Anybody bsoltani3@gmail.com   0 0 0 0 0 0
1071 2005-12-16 06:05:25 2006-10-24 20:17:23 2019-06-24 00:26:39.349644 Unreviewed closed Generic views task major master wontfix [patch] generic views (object_list/object_detail/date) should take login_required as a parameter as some non-updated pages might require a login. regards Ian jacob Ian@holsman.net   0 1 0 0 0 0
1140 2005-12-29 23:06:25 2006-10-24 20:17:23 2019-06-24 00:27:23.075426 Unreviewed closed Template system enhancement normal 0.90 wontfix [patch] using another type of template (zpt) with render_to_response / render_to_string Hi! for some of my sites i use zpt (ZopePageTemplates). when making login/logout pages with django.views.auth.login i found that i could not use zpt because the pages where automaticly send to render_to_response and required django templates. for this i made a small patch to loader.py to allow setting an arbirary prefered templating system. (such as django.contrib.pagetemplate.pagetemplate.get_template) the patch is far from perfect (but it works :)). it's missing a change to conf.global_settings.py so the TEMPLATE_SYSTEM_PREFERED configuration is not mandatory. (should be set default to "") also the code and naming could be better and more consistent i guess. it would be nice to have something like a list for TEMPLATING SYSTEMS much like TEMPLATE_LOADERS. so one could specify with templating systems are in use and have the templating system search all of those. (as far as zpt goes this is perfect cause they both work with a template instance and a context to render a page, so there is not much difference between calling zpt or djangotemplates) = settings.py = {{{ # For no other prefered templating system # TEMPLATE_SYSTEM_PREFERED = "" # For zpt/tal templates TEMPLATE_SYSTEM_PREFERED = "django.contrib.pagetemplate.pagetemplate.get_template" }}} = patch = {{{ --- loader.py.bak 2005-12-23 00:26:59.000000000 +0100 +++ loader.py 2005-12-29 23:44:20.000000000 +0100 @@ -22,7 +22,19 @@ from django.core.exceptions import ImproperlyConfigured from django.core.template import Origin, StringOrigin, Template, Context, TemplateDoesNotExist, add_to_builtins -from django.conf.settings import TEMPLATE_LOADERS, TEMPLATE_DEBUG +from django.conf.settings import TEMPLATE_LOADERS, TEMPLATE_DEBUG, TEMPLATE_SYSTEM_PREFERED + +if TEMPLATE_SYSTEM_PREFERED: + i = TEMPLATE_SYSTEM_PREFERED.rfind('.') + module, attr = TEMPLATE_SYSTEM_PREFERED[:i], TEMPLATE_SYSTEM_PREFERED[i+1:] + try: + CustomTemplateModule = __import__(module, globals(), locals(), [attr]) + exc… adrian bas@freshdeuce.org templates, zpt, pagetemplates 0 1 0 0 0 0
1185 2006-01-07 22:43:19 2006-10-24 20:17:18 2019-06-24 00:27:51.568212 Unreviewed closed Tools defect major master fixed __str_to_bool in modpython.py Line 16 in modpython.py in authenhandler() should be: {{{ _str_to_bool = lambda s: s.lower() in ('1', 'true', 'on', 'yes') }}} Otherwise, calls on Python2.4 think this is a tuple. adrian Brian Ray <bray@sent.com> modpython, tuple, authenhandler 0 0 0 0 0 0
1205 2006-01-12 11:22:05 2006-10-24 20:17:18 2019-06-24 00:28:04.378664 Unreviewed closed Metasystem defect normal   invalid PasswordField for secret input is missing and not easily self-madeable. There doesnt seem to be a thing like a PasswordField, or? I found a formfield.PasswordField, but when I try to derive from CharField like this: class PasswordField(meta.CharField): def get_manipulator_field_objs(self): return [formfields.PasswordField] and want to use the resulting class, manage.py throws: File "/usr/lib/python2.3/site-packages/django/core/management.py", line 75, in get_sql_create col_type = db.DATA_TYPES[data_type] KeyError: 'PasswordField' adrian Henning Hasemann   0 0 0 0 0 0
1246 2006-01-19 16:56:08 2006-10-24 20:17:18 2019-06-24 00:28:30.422095 Unreviewed closed Documentation defect minor 0.90 duplicate 'djp.com/documentation/templates/#using-the-built-in-reference' should note that appending /doc/ yields the described documentation. The doc page [http://www.djangoproject.com/documentation/templates/#using-the-built-in-reference] suggests clicking to get to these pages, but doesn't mention appending doc/. It really should say this. I later noticed the same comment here: [http://www.djangoproject.com/documentation/templates/#c793]. As a nice add-on, it would be beautiful if the default /admin/ index page included a link to /doc/, perhaps switchable w/ the DEBUG settings flag or something like that. jacob benomatic documentation 0 0 0 0 0 0
1290 2006-01-29 23:13:28 2006-10-24 20:17:18 2019-06-24 00:28:58.505609 Unreviewed closed Core (Other) defect blocker magic-removal invalid 'SessionManager' object has no attribute 'get_object' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/servers/basehttp.py", line 272, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/servers/basehttp.py", line 615, in __call__ return self.application(environ, start_response) File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/wsgi.py", line 164, in __call__ response = middleware_method(request, response) File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/contrib/sessions/middleware.py", line 75, in process_response session_key = request.session.session_key or Session.objects.get_new_session_key() File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/contrib/sessions/models.py", line 21, in get_new_session_key self.get_object(session_key__exact=session_key) AttributeError: 'SessionManager' object has no attribute 'get_object' adrian b r i a n (at) equalslashed (dot) n e t   0 0 0 0 0 0
1309 2006-02-01 20:30:51 2006-10-24 20:17:18 2019-06-24 00:29:10.565504 Unreviewed closed contrib.admin defect normal   invalid Admin Fieldsets doesn't have an id   adrian icarnales@gmail.com   0 0 0 0 0 0
1314 2006-02-02 00:46:53 2006-10-24 20:17:18 2019-06-24 00:29:13.772525 Unreviewed closed contrib.admin defect normal magic-removal fixed [patch] more bugfixes on admin for magic-removal branch Fixed more bugs I've found while trying magic-removal admin interface. {{{ Index: django/contrib/admin/views/main.py =================================================================== --- django/contrib/admin/views/main.py (revision 2216) +++ django/contrib/admin/views/main.py (working copy) @@ -218,7 +218,7 @@ return HttpResponse('<script type="text/javascript">opener.dismissAddAnotherPopup(window, %s, "%s");</script>' % \ (pk_value, repr(new_object).replace('"', '\\"'))) elif request.POST.has_key("_addanother"): - request.user.add_message(msg + ' ' + (_("You may add another %s below.") % opts.verbose_name)) + request.user.message_set.add(message=msg + ' ' + (_("You may add another %s below.") % opts.verbose_name)) return HttpResponseRedirect(request.path) else: request.user.add_message(msg) @@ -387,7 +387,7 @@ _get_deleted_objects(deleted_objects, perms_needed, user, sub_obj, related.opts, current_depth+2) else: has_related_objs = False - for sub_obj in getattr(obj, 'get_%s_list' % rel_opts_name)(): + for sub_obj in getattr(obj, '%s' % rel_opts_name).all(): has_related_objs = True if related.field.rel.edit_inline or not related.opts.admin: # Don't display link to edit, because it either has no @@ -410,7 +410,7 @@ opts_seen.append(related.opts) rel_opts_name = related.get_accessor_name() has_related_objs = False - for sub_obj in getattr(obj, 'get_%s_list' % rel_opts_name)(): + for sub_obj in getattr(obj, '%s' % rel_opts_name).all(): has_related_objs = True if related.field.rel.edit_inline or not related.opts.admin: # Don't display link to edit, because it either has no @@ -452,7 +452,7 @@ obj_display = str(obj) obj.delete() L… adrian jpaulofarias at gmail dot com admin 0 1 0 0 0 0
1316 2006-02-02 11:28:58 2006-10-24 20:17:18 2019-06-24 00:29:15.165741 Unreviewed closed contrib.admin defect normal magic-removal fixed [patch] one more bug fix for admin interface Removed one more reference to 'get_%s_list' when it should be '%s_set'.all() {{{ Index: django/db/models/base.py =================================================================== --- django/db/models/base.py (revision 2230) +++ django/db/models/base.py (working copy) @@ -211,7 +211,7 @@ else: sub_obj.__collect_sub_objects(seen_objs) else: - for sub_obj in getattr(self, 'get_%s_list' % rel_opts_name)(): + for sub_obj in getattr(self, '%s_set' % rel_opts_name).all(): sub_obj.__collect_sub_objects(seen_objs) def delete(self): }}} adrian jpaulofarias at gmail dot com admin, db 0 1 0 0 0 0
1340 2006-02-10 19:26:36 2006-10-24 20:17:34 2019-06-24 00:29:30.447714 Unreviewed closed Database layer (models, ORM) enhancement normal 0.91 duplicate Add edit_inline support for OneToOne relationships Please add edit_inline support to OneToOne relationships. adrian jsm   0 0 0 0 0 0
1382 2006-02-21 10:18:46 2006-10-24 20:17:18 2019-06-24 00:29:57.422535 Unreviewed closed Internationalization enhancement major   fixed A Django polish translation I made a polish translation file for Diango. It is almost complete. I want to add it to Django distribution. Please allow me to do that. hugo krzysztof.kajkowski@gmail.com polish translation 0 0 0 0 0 0
1407 2006-02-27 15:07:48 2006-10-24 20:17:23 2019-06-24 00:30:13.369118 Unreviewed closed Core (Other) enhancement normal magic-removal fixed Clarify add(), create(), remove() on ManyRelatedObjectsDescriptor for ForeignKeys {{{ ---------- Forwarded message ---------- From: Russell Keith-Magee <freakboy3742@gmail.com> Date: Feb 26, 2006 9:30 PM .... Hi all, In working on an implementation for the remove() and clear() methods for ManyRelatedObjectsDescriptor (i.e., mypolls.choices.remove() and mypoll.choices.clear()), I have noticed that add() on a o2m descriptor creates a new Choice object, whereas add() on a m2m descriptor takes a list of pre-existing objects and adds them to the membership set. I have had a trawl through the wiki and mailing list logs, but I didn't find any discussion covering this issue - it looks like the inconsistency is an accident of porting the old API to the new. o2m field behavior follows the old add_choices() behaviour; add/remove is a new feature for m2m, replacing the set_articles() call. To me, the difference in add() behaviours is a potentially confusing inconsistency. In addition, the m2m interpretation of add() makes more sense (to me, anyway) than the o2m behaviour. To that end, I would like to propose the following: 1) Delete Manager.add(). Poll.objects.add(kwargs) doesn't strike me as a particularly intuitive alternative to p = Poll(kwargs); p.save() - the only reason it seems to be there is to simplify the o2m descriptor. 2) Rename the existing mypoll.choices.add() to mypoll.choices.create() 3) Add a mypoll.choices.add() that will take a list of already constructed objects (to match the m2m add), rather than create a single new object. This would make mypoll.choices.add(choice) an analog of "choice.poll_id = mypoll.id; choice.save()" 4) Delete remove() and clear() from the o2m descriptor. I'm not entirely happy with (4) because of the lack of symmetry between o2m and m2m descriptors, but the only alternatives I can see are: - have remove(*objs) delete all the named objects, and clear() delete all objects with the matching key. This seems potentially confusing, since the m2m remove/clear doesn't delete anything but the relationship. Also, t… russellm jdunck@gmail.com   0 0 0 0 0 0
1408 2006-02-27 15:46:04 2006-10-24 20:17:23 2019-06-24 00:30:13.997524 Unreviewed closed contrib.admin enhancement normal magic-removal fixed [patch] admin doc should have a module description the admin docs show descriptions of the fields, but not what the model is all about. patch introduces a description field in Meta that is shows in the model details admin doc page under the summary. I'm not sure if Meta is the best place, but using the __doc__ string seems not to be best to translate and Admin not the proper place. I'm not very good at writing docs, so its up to document the models in django :) adrian django@poelzi.org   0 1 0 0 0 0
1420 2006-02-28 14:46:40 2006-10-24 20:17:23 2019-06-24 00:30:21.566857 Unreviewed closed Core (Other) enhancement normal magic-removal fixed [patch] Enabling pastebin friendly exceptions on the template for debug purposes. This patch will enable a pastebin friendly version of the traceback when some exception occurrs. adrian jpaulofarias at gmail dot com   0 1 0 0 0 0
1432 2006-03-01 15:40:13 2006-10-24 20:17:18 2019-06-24 00:30:29.172366 Unreviewed closed contrib.admin defect normal master fixed Russian translation Rassian translation of main file and js file encoded charset utf8. adrian greg russian 0 0 0 0 0 0
1455 2006-03-02 19:35:04 2006-10-24 20:17:23 2019-06-24 00:30:44.020174 Unreviewed closed Core (Other) defect normal magic-removal fixed [patch] magic-removal: update invalid models tests to expect new-style errors The very helpful invalid model errors that were rolled in to [2472] break the invalid model test. I changed the expected errors to match the th new-style syntax and now all tests pass again (at least in [2475] under postgres). adrian matt   0 1 0 0 0 0
1464 2006-03-04 04:42:34 2006-10-24 20:17:23 2019-06-24 00:30:49.763967 Unreviewed closed Documentation task normal magic-removal fixed [magic-removal] [patch] Need to update tutorials I had hoped to get all the tutorials done for magic removal, but I've just not had the time. Hopefully someone else will pick up with this patch and finish it off. Otherwise, I may resume working on it in a couple weeks. jacob jdunck@gmail.com tutorial 0 1 0 0 0 0
1467 2006-03-06 18:38:55 2006-10-24 20:17:18 2019-06-24 00:30:51.642006 Unreviewed closed Core (Other) defect critical magic-removal duplicate WSGIRequest' object has no attribute '_user_source' A simple application that requires user login fails with SVN revision 2488. With revision from 20060227 works fine. The error message: {{{ AttributeError at / 'WSGIRequest' object has no attribute '_user_source' Request Method: GET Request URL: http://127.0.0.1:8000/ Exception Type: AttributeError Exception Value: 'WSGIRequest' object has no attribute '_user_source' Exception Location: /usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/wsgi.py in _get_user, line 123 }}} adrian julian@mad.mw   0 0 0 0 0 0
1492 2006-03-11 18:51:05 2006-10-24 20:17:23 2019-06-24 00:31:07.487177 Unreviewed closed Documentation defect minor magic-removal fixed Typo in transations.txt There is a small mistake on source:/django/branches/magic-removal/docs/transactions.txt, line 68 {{{ @transaction.autocommit }}} should be {{{ @autocommit }}} jacob Armin Ronacher <armin.ronacher@active-4.com>   0 0 0 0 0 0
1512 2006-03-18 04:32:29 2006-10-24 20:17:23 2019-06-24 00:31:20.169081 Unreviewed closed Template system enhancement minor magic-removal invalid Paginator still uses old api style in magic removal version The Object "ObjectPaginator" from the Paginator package has still old api style calls which should be replaced: {{{ In [12]: ObjectPaginator. ObjectPaginator._get_hits ObjectPaginator.get_page ObjectPaginator.has_previous_page ObjectPaginator.pages ObjectPaginator._get_pages ObjectPaginator.has_next_page ObjectPaginator.hits }}} Namely, these are all methods with get_ in their name. These should be adjusted to the new api style to not cause confusion, e.g. ObjectPaginator.get_page -> ObjectPaginator.page This is just a personal opinion because it confused me while I was migrating to magic removal so feel free to flame me ;) decoder adrian the_deco paginator 0 0 0 0 0 0
1513 2006-03-18 07:06:24 2006-10-24 20:17:18 2019-06-24 00:31:20.829295 Unreviewed closed Template system enhancement minor 0.91 invalid Multiple references to the same block is prohibited Attempting to refer to the same block twice in a template causes a TemplateSyntaxError to be thrown. This seems like a useful and harmless thing to do, unless I'm missing something. (I realize that some thought has probably gone into this, so maybe just an explanation would do. Searching the docs proved fruitless.) Here's a typical example that comes to mind: {{{ ... <head> <title>My Application: {% block title %}{% endblock %}</title> </head> <h1>{% block title %}{% endblock %}</h1> ... }}} adrian boris@z3.ca block template 0 0 0 0 0 0
1520 2006-03-19 15:46:24 2006-10-24 20:17:18 2019-06-24 00:31:25.200612 Unreviewed closed Translations enhancement normal master fixed Greek Translation, first attempt to add it.   hugo anonymous   0 0 0 0 0 0
1531 2006-03-23 00:58:21 2006-10-24 20:17:18 2019-06-24 00:31:32.100670 Unreviewed closed Template system defect minor   fixed Extends template reported as not existing when include file doesn't exist When an include file in a base template doesn't exist the base template is reported as not existing. example: base_generic.html {{{ ............ {% include "file_doesnt_exist" %} ............ }}} index.html {{{ {% extends "base_generic" %} ......... }}} {{{ Exception Type: TemplateSyntaxError Exception Value: Template 'base_generic' cannot be extended, because it doesn't exist Exception Location: /usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/template/loader_tags.py in get_parent, line 54 }}} adrian ilikeprivacy@gmail.com   0 0 0 0 0 0
1534 2006-03-24 07:25:05 2006-10-24 20:17:23 2019-06-24 00:31:33.969889 Unreviewed closed contrib.admin enhancement normal 0.91 wontfix [patch] Client-side encoding of admin logins Currently, passwords are sent via plain text when logging in. Even though HTTPS is the ultimate solution, it would still be far more secure for clients to be able to send a digest instead. This has been discussed in #61, but the ticket description doesn't cover this specifically. The patch attached lets the client handle hashing the password first if Javascript is enabled. Passwords will be upgraded to a new algorithm which uses a psuedo-random salt based on username. This way, the client can calculate the salt rather than require a challenge-response. Rather than sending the database hash, the hash itself is hashed for extra security.[[br]] The server provides half a random salt in the login form and the client generates the other half. The server checks first against this secure password, then falls back to the raw password. adrian SmileyChris   0 1 0 0 0 0
1536 2006-03-24 20:46:57 2006-10-24 20:17:23 2019-06-24 00:31:35.190321 Unreviewed closed Validators defect normal magic-removal fixed [patch] FilePathField with recurive option loses subdirectory When using the recursive option to FilePathField, it joins together the initial path and the file name instead of the current path and the file name. Patch coming in a moment. adrian Andy Dustman <farcepest@gmail.com>   0 1 0 0 0 0
1545 2006-03-27 19:47:03 2006-10-24 20:17:18 2019-06-24 00:31:40.858609 Unreviewed closed Database layer (models, ORM) defect normal 0.91 invalid DB Initialization in Tutorial does not work. After doing what the tutorial says: '''''Run the following command to initialize your database with Django's core database tables: python manage.py init If you don't see any errors, it worked.''''' I've got the following error message: The database couldn't be initialized. an integer is required. I already tried "." or "" in the database_host variable. adrian javierhf7@yahoo.com   0 0 0 0 0 0
1555 2006-03-29 16:37:59 2006-10-24 20:17:23 2019-06-24 00:31:47.193582 Unreviewed closed Core (Other) defect normal magic-removal fixed [patch][magic-removal] Fix to allow for sending email on non-standard SMTP ports. Fix to allow django.core.mail.send_mail() to work with a non-standard SMTP port. (i.e. not 25) adrian bde3@cornell.edu mail smtp port 0 1 0 0 0 0
1579 2006-04-03 21:14:45 2006-10-24 20:17:23 2019-06-24 00:32:02.422815 Unreviewed closed Core (Other) defect major magic-removal fixed Exclude in limit_choices_to doesn't work I'm migrating my project to Magic Removal. I couldn't find how to do the equivalent of the old {{{ limit_choices_to = {'name__ne' : 'John'} }}} in Magic Removal. This should be something like: {{{ limit_choices_to = {'name__exclude': 'John'} }}}. See the discussion at [http://groups.google.com/group/django-users/browse_thread/thread/cd9e54257be1c80d Google group django-users]. adrian Rudolph limit_choices_to exclude 0 0 0 0 0 0
1582 2006-04-04 11:57:44 2006-10-24 20:17:23 2019-06-24 00:32:04.332001 Unreviewed closed Tools defect normal magic-removal fixed AnonymousUser doesn't act like descriptor - has old get_group_list behaviour django.contrib.admin.models.AnonymousUser still has old style m2m accessors, like get_group_list. These should be converted to descriptor-like notation. russellm russellm AnonymousUser 0 0 0 0 0 0
1584 2006-04-04 18:06:49 2006-10-24 20:17:23 2019-06-24 00:32:05.579775 Unreviewed closed Database layer (models, ORM) defect normal master fixed [patch] auto_now_add fields set to NULL on update When adding an object with a models.DateTimeField(auto_now_add=True), the column is set to the current time as it should be. However, when doing an update, Django tries to set the column to NULL. Example: These are SQL statements (and parameters) as they are executed. created is auto_now_add and updated is auto_now. First, adding the new objects in the admin interface: {{{ INSERT INTO `dns_domain` (`name`) VALUES (%s) ['foo.com'] INSERT INTO `dns_nameserver` (`domain_id`,`name`,`ip`,`starts`,`expires`,`ttl`,`location_id`,`created`,`updated`) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s) [2L, 'a', '1.2.3.4', None, None, None, None, '2006-04-04 17:50:40', '2006-04-04 17:50:40'] INSERT INTO `dns_nameserver` (`domain_id`,`name`,`ip`,`starts`,`expires`,`ttl`,`location_id`,`created`,`updated`) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s) [2L, 'b', '1.2.3.5', None, None, None, None, '2006-04-04 17:50:40', '2006-04-04 17:50:40'] }}} Then, updating the objects in the admin interface: {{{ SELECT `dns_domain`.`id`,`dns_domain`.`name` FROM `dns_domain` WHERE (`dns_domain`.`name` = %s) ['foo.com'] SELECT 1 FROM `dns_domain` WHERE `id`=%s LIMIT 1 ['2'] UPDATE `dns_domain` SET `name`=%s WHERE `id`=%s ['foo.com', '2'] SELECT `dns_nameserver`.`id`,`dns_nameserver`.`domain_id`,`dns_nameserver`.`name`,`dns_nameserver`.`ip`,`dns_nameserver`.`starts`,`dns_nameserver`.`expires`,`dns_nameserver`.`ttl`,`dns_nameserver`.`location_id`,`dns_nameserver`.`created`,`dns_nameserver`.`updated` FROM `dns_nameserver` WHERE (`dns_nameserver`.`domain_id` = %s AND `dns_nameserver`.`id` = %s) [2L, '4'] SELECT 1 FROM `dns_nameserver` WHERE `id`=%s LIMIT 1 ['4'] UPDATE `dns_nameserver` SET `domain_id`=%s,`name`=%s,`ip`=%s,`starts`=%s,`expires`=%s,`ttl`=%s,`location_id`=%s,`created`=%s,`updated`=%s WHERE `id`=%s ['2', 'a', '1.2.3.4', None, None, None, None, None, '2006-04-04 17:55:02', '4'] SELECT `dns_domain`.`id`,`dns_domain`.`name` FROM `dns_domain` WHERE (`dns_domain`.`id` = %s) ['2'] SELECT `dns_nameserver`.`id`,`dns_nameserver`.`domain_id`,`dns_nam… adrian Andy Dustman <farcepest@gmail.com>   0 1 0 0 0 0
1606 2006-04-10 03:06:22 2006-10-24 20:17:23 2019-06-24 00:32:19.341741 Unreviewed closed Core (Management commands) defect normal magic-removal fixed [patch] management.py inspectdb raises "ValueError: too many values to unpack" There appears to be an extra line in management.py. I don't know this code well enough to be positive that my fix is correct, but it works for me. adrian pb@e-scribe.com   0 1 0 0 0 0
1634 2006-04-13 12:59:15 2006-10-24 20:17:18 2019-06-24 00:32:37.339250 Unreviewed closed Validators task blocker new-admin fixed [patch] core.mail does not include a Date header in mails Hi, core.mail does not include a "Date" header, leading to mails which land up right at the bottom of my mailbox, which is a bit irritating :) I can't think of any reason why anybody would want to generate an email without a Date header? {{{ Index: django/core/mail.py =================================================================== --- django/core/mail.py (revision 2694) +++ django/core/mail.py (working copy) @@ -3,6 +3,7 @@ from django.conf import settings from email.MIMEText import MIMEText import smtplib +import time class BadHeaderError(ValueError): pass @@ -46,6 +47,7 @@ msg['Subject'] = subject msg['From'] = from_email msg['To'] = ', '.join(recipient_list) + msg['Date'] = time.strftime('%a, %d %b %Y %H:%M:%S %z') try: server.sendmail(from_email, recipient_list, msg.as_string()) num_sent += 1 }}} adrian Russell Cloran <russell@hbd.com>   0 1 0 0 0 0
1637 2006-04-14 06:24:07 2006-10-24 20:17:23 2019-06-24 00:32:39.253213 Unreviewed closed Core (Other) defect normal magic-removal fixed [patch] [magic-removal] django.contrib.comments still uses old methods django.contrib.comments.models still uses old methods like get_user() and get_object(), which are incompatible with M/R adrian Denis <kuzmichyov@gmail.com>   0 1 0 0 0 0
1645 2006-04-16 17:25:51 2006-10-24 20:17:23 2019-06-24 00:32:44.195672 Unreviewed closed Documentation defect normal magic-removal fixed [magic-removal] tutorial03.txt: Template names in render_to_response are missing the extension. All calls to render_to_response in the sample code of this tutorial are missing the .html extension for the template name. jacob Thomas.Dartsch@gmx.de   0 0 0 0 0 0
1659 2006-04-20 03:59:23 2006-10-24 20:17:23 2019-06-24 00:32:52.871142 Unreviewed closed Core (Other) defect normal magic-removal fixed [patch] [magic-removal] References to decomissioned &#34;django.models&#34; still exist In the magic removal branch, the following files still have references to `django.models` which [http://code.djangoproject.com/wiki/RemovingTheMagic#Interactdirectlywithmodelclassesnotwithmagicmodules no longer exists]: {{{ django/contrib/auth/models.py django/contrib/comments/views/karma.py django/contrib/comments/views/userflags.py }}} adrian SmileyChris   0 1 0 0 0 0
1661 2006-04-20 12:48:40 2006-10-24 20:17:23 2019-06-24 00:32:54.141729 Unreviewed closed Database layer (models, ORM) defect normal magic-removal fixed Forward declaration of OneToOneField requires 'to_field' to avoid import failure njharman (lists@knoggin.com) reports: {{{ class Foo(models.Model): myfield = models.OneToOneField('SomeModel', to_field='id') }}} Works. {{{ class Foo(models.Model): myfield = models.OneToOneField('SomeModel') }}} Fails because whatever "turns" 'SomeModel' from string into class object hasn't happened when code in "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/models/fields/related.py on line 510 tries to determine default to_field. ---- Model is ok during syncdb; failure occurs during import. russellm russellm   0 0 0 0 0 0
1666 2006-04-21 02:06:29 2006-10-24 20:17:23 2019-06-24 00:32:57.301055 Unreviewed closed Documentation defect normal magic-removal fixed [patch] [magic-removal] render_to_response '.html' updates for documentation Fixes for documention which didn't use '.html' in render_to_response statements. jacob SmileyChris   0 1 0 0 0 0
1669 2006-04-21 12:41:34 2006-10-24 20:17:23 2019-06-24 00:32:59.216388 Unreviewed closed Internationalization defect normal magic-removal invalid Javascripted widgets don't get translated in M-R The text for the filter interface for ManyToManyField and the datetime/date/time widget doesn't get translated in the admin interface. hugo Rudolph   0 0 0 0 0 0
1670 2006-04-21 12:45:29 2006-10-24 20:17:23 2019-06-24 00:32:59.854342 Unreviewed closed Internationalization defect normal magic-removal fixed Verbose_name missing in some fields of User and Group models, thus no i18n. To complete i18n on the User en Group model: the verbose_name of the user permissions field and the groups field of the User model should be set (and a little usability issue here: the groups field should have a filter_interface, just like the permissions). Also the verbose_name of the permissions field of the group model should be set. hugo Rudolph   0 0 0 0 0 0
1676 2006-04-25 07:49:04 2006-10-24 20:17:23 2019-06-24 00:33:03.646301 Unreviewed closed Documentation defect normal magic-removal duplicate docs/generic_views.txt needs slight update docs generic_views.txt uses this example: {{{ info_dict = { 'model': Entry, 'date_field': 'pub_date', } }}} Which gives an error {{{ TypeError at /budget/debt/ archive_index() got an unexpected keyword argument 'model' }}} The correct syntax is demonstrated by tutorial04.txt {{{ info_dict = { 'queryset': Poll.objects.all(), } }}} See [2304] jacob penguin@home.se   0 0 0 0 0 0
1682 2006-04-25 17:12:16 2006-10-24 20:17:23 2019-06-24 00:33:07.452756 Unreviewed closed Documentation defect normal magic-removal fixed Line 180 in /docs/tutorial04.txt needs a '.html' Line 180 of the magic-removal /docs/tutorial04.txt should be changed from {{{ template_name='polls/results' }}} to {{{ template_name='polls/results.html' }}} I believe. Otherwise you get a "'''TemplateDoesNotExist''' at /polls/1/results/" error. jacob jheasly@earthlink.net   0 0 0 0 0 0
1685 2006-04-25 21:21:30 2006-10-24 20:17:23 2019-06-24 00:33:09.343154 Unreviewed closed Database layer (models, ORM) defect normal magic-removal fixed [patch] order_by breaks for column in a custom SELECT Here is an example: {{{ #!python select = { 'votes': 'SELECT COUNT(*) FROM faxian_vote WHERE story_id=faxian_story.id', } order_by = '-votes' sl = Story.objects.extra(select=select,).filter(promotion_ts__isnull=False,).order_by(order_by)[:10] }}} The problematic line is in django\models\query.py, line 430: {{{ #!python if "." not in col_name and col_name not in [k[0] for k in (self._select or ())]: }}} k[0] will be the first letter of the key name in self._select, in this case, 'v' So it should be changed to: {{{ #!python if "." not in col_name and col_name not in [k for k in (self._select or ())]: }}} adrian feiyu.xie@gmail.com order_by, extra select,custom select 0 1 0 0 0 0
1700 2006-04-27 05:50:49 2006-10-24 20:17:23 2019-06-24 00:33:18.874358 Unreviewed closed Documentation defect normal magic-removal fixed [magic-removal] [patch] docs/generic_views.txt document update In this document you see: {{{ from django.conf.urls.defaults import * from django_website.apps.blog.models import Entry info_dict = { 'model': Entry, 'date_field': 'pub_date', } }}} to be used with date_based generic views. However, any attempt to use such a 'model' will yield: {{{ archive_index() got an unexpected keyword argument 'model' }}} I think it should be changed to reflect http://code.djangoproject.com/wiki/RemovingTheMagic#Changedtheparametersyoupasstogenericviews jacob asmodai@in-nomine.org   0 1 0 0 0 0
1704 2006-04-27 13:39:31 2006-10-24 20:17:23 2019-06-24 00:33:21.403281 Unreviewed closed Documentation defect normal magic-removal fixed [magic-removal] [patch] Small corrections to tutorials The attached patch pulls together fixes for the documentation problems reported in #1682, #1693, #1694, #1695 and #1696. If this gets applied, all of those can be closed (I didn't want to add an ueber-patch to any of the individual tickets). jacob Malcolm Tredinnick <malcolm@pointy-stick.com>   0 1 0 0 0 0
1709 2006-04-28 02:54:23 2006-10-24 20:17:23 2019-06-24 00:33:24.578221 Unreviewed closed Core (Other) defect normal magic-removal fixed [patch] [magic-removal] updated comments module's view/model to use the new m-r apis guys, today while I'm using the comments module to implement something, I guess I found two bugs: * in the models.py, the get_list_with_karma method should be updated to use the extra() method to inject the "select" kwargs, otherwise, the templatetag get_comment_list won't work; * in the views/comments.py, self.user_cache.get_comments_comment_count() - the get_comments_comment_count() api doesn't exist now, should be updated to use the self.user_cache.comment_set.count() to get the comments count. I've done some debug work to check the patch for models.py, pls check the the following sqls to confirm if my patch work as expected: before patching: {{{ {'sql': 'SELECT "comments_comment"."id","comments_comment"."user_id","comments_comment"."content_type_id", "comments_comment"."object_id","comments_comment"."headline","comments_comment"."comment", "comments_comment"."rating1","comments_comment"."rating2","comments_comment"."rating3", "comments_comment"."rating4","comments_comment"."rating5","comments_comment"."rating6", "comments_comment"."rating7","comments_comment"."rating8","comments_comment"."valid_rating", "comments_comment"."submit_date","comments_comment"."is_public","comments_comment"."ip_address", "comments_comment"."is_removed","comments_comment"."site_id" FROM "comments_comment" INNER JOIN "django_content_type" AS "comments_comment__content_type" ON "comments_comment"."content_type_id" = "comments_comment__content_type"."id" WHERE ("comments_comment__content_type"."model" = article AND "comments_comment"."site_id" = 1 AND "comments_comment__content_type"."app_label" = aiyo AND "comments_comment"."object_id" = 32) ORDER BY "comments_comment"."submit_date" DESC', 'time': '0.001'}, }}} patched: {{{ {'sql': 'SELECT "comments_comment"."id","comments_comment"."user_id","comments_comment"."content_type_id", "comments_comment"."object_id","comments_comment"."headline","comments_comment"."comment", "comments_comment"."rating1","comments_comment"."rating2","comm… adrian EricHsu<nkeric@gmail.com>   0 1 0 0 0 0
1724 2006-04-30 06:04:16 2006-10-24 20:17:18 2019-06-24 00:33:33.959853 Unreviewed closed contrib.admin defect normal magic-removal fixed [magic-removal] [patch] Some corrections to tutorial01.txt Sorry about this Adrian, but my suggestion to move to using __str__ everywhere has backfired slightly. The output of the first tutorial has changed significantly (the thing returned at the Python prompt is the repr() unless you explicitly convert to strings or print it). The attached patch fixed the results shown in the tutorial to match what happens; I ran through it quickly on the command line to check these, so they should be correct. I have also fixed up a blunder at the very top: we were saying we were creating a blog app, rather than a poll. Not quite sure how that survived until now. adrian Malcolm Tredinnick <malcolm@pointy-stick.com>   0 1 0 0 0 0
1731 2006-05-01 11:42:34 2006-10-24 20:17:18 2019-06-24 00:33:38.332389 Unreviewed closed Documentation defect normal magic-removal fixed [magic-removal] [patch] Explain where model repository is located in source It might be worth adding something like the attached patch to the newly revised docs/model-api.txt file. This explains where the online model repository is located in the source distribution (I remember it took me a little while to realise it existed when I was first starting out). adrian Malcolm Tredinnick <malcolm@pointy-stick.com>   0 1 0 0 0 0
1749 2006-05-03 07:50:31 2006-10-24 20:17:23 2019-06-24 00:33:50.089875 Unreviewed closed contrib.admin enhancement normal master fixed Admin's datehierarchy does not translate month titles. Admin's date hierarchy templatetag does not translate link title's month. adrian TT admin translation 0 0 0 0 0 0
1757 2006-05-03 19:11:20 2006-10-24 20:17:23 2019-06-24 00:33:55.297334 Unreviewed closed Translations defect normal   fixed Dutch translation for current trunk (after M-R merge) New Dutch translations. hugo Rudolph   0 0 0 0 0 0
1778 2006-05-05 21:01:21 2006-10-24 21:31:24 2019-06-24 00:34:08.970788 Unreviewed closed Template system enhancement minor   fixed Proposed {% "alternate comment syntax" %} What if, in addition to `{% comment %}{% endcomment %}`, the template system offered this alternative syntax: {{{ {% "Quoted standalone comment" %} }}} and/or {{{ {% """Quoted standalone comment""" %} }}} It's much more concise, vaguely Pythonic in a docstring kind of way, and (I think) unambiguous with regard to current tags. adrian pb@e-scribe.com   0 0 0 0 0 0
1937 2006-05-19 21:38:00 2006-10-24 20:17:23 2019-06-24 00:35:51.288580 Unreviewed closed Translations defect normal   fixed [patch] Fixed quotation issue in Norwegian transaltion   hugo [530]   0 1 0 0 0 0
2006 2006-05-25 16:42:01 2006-10-24 20:17:23 2019-06-24 00:36:34.994964 Unreviewed closed Testing framework task major new-admin fixed [patch] admin doesn't html-quote strings in breadcrumbs and filters When the admin site uses a models __str__()-method, it doesn't html-quote it. For example: {{{ def __str__(self): return '%s <%s>' %(self.name, self.email) }}} would show up in the admin site as just the name, because my browser thinks <email> is a bad tag. adrian mhf@hex.no   0 1 0 0 0 0
2044 2006-05-31 03:10:02 2006-10-24 20:17:23 2019-06-24 00:36:58.725684 Unreviewed closed Translations task major   fixed [patch] sqlinitialdata is ignoring semi-colons currently it seems to be stripping of the semi-colons at the end of a SQL statement.. which means mysql can't import. {{{ Index: management.py =================================================================== --- management.py (revision 3007) +++ management.py (working copy) @@ -336,7 +336,7 @@ (?:[^;'"]+) # not the end of a statement or start of a quote | (?:'[^']*') # something in single quotes | (?:"[^"]*") # something in double quotes - )+)""", re.VERBOSE) + )+;?)""", re.VERBOSE) # Find custom SQL, if it's available. sql_files = [os.path.join(app_dir, "%s.%s.sql" % (opts.object_name.lower(), settings.DATABASE_ENGINE)), }}} adrian ian@holsman.net   0 1 0 0 0 0
2084 2006-06-04 22:31:09 2006-10-24 20:17:34 2019-06-24 00:37:23.844429 Unreviewed closed contrib.admin defect normal   fixed [patch] Users without staff status see the "documentation / change password / log out" links at login screen. When logged in as a user without is_staff, and you navigate to www.example.com/admin, the links of the top right corner show up in the login screen. This small patch for base.html fixes this. adrian rudolphfroger [-at-] gmail [-dot-] com   0 1 0 0 0 0
2103 2006-06-07 07:20:00 2006-10-24 20:17:34 2019-06-24 00:37:36.735655 Unreviewed closed Validators defect normal master fixed DateField and DateTimefield do not really validate When providing an invalid date like 2006-2-31 to a DateField or DateTimeField, the validation doesn't catch that and an unhandled exception is raised. It shouldn't be too hard to validate for valid dates since you can rely on the Pythons datetime module. I think this is a bug, or at least a missing feature one expects to find in the validation thing. Rudolph adrian Rudolph   0 0 0 0 0 0
2171 2006-06-16 16:07:27 2006-10-24 20:17:34 2019-06-24 00:38:20.353990 Unreviewed closed Translations defect normal magic-removal fixed Russian translation Russian translation of main lang file django.po hugo greg   0 0 0 0 0 0
2172 2006-06-16 16:23:54 2006-10-24 20:17:34 2019-06-24 00:38:20.998962 Unreviewed closed Translations defect normal magic-removal fixed Russian translation with fixed Russian translation with fixed problem hugo greg   0 0 0 0 0 0
2183 2006-06-18 01:02:19 2006-10-24 20:17:34 2019-06-24 00:38:28.055168 Unreviewed closed Generic views enhancement minor 0.90 fixed Empty posts are still posts When posting a form with no successful controls, request.POST evaluates to false in a boolean context. This causes the POST action to not be handled. It'd be nice to still handle the post requests. (Work around is to have a dummy form input or to name the submit button in the HTML.) adrian jdunck@gmail.com   0 0 0 0 0 0
2209 2006-06-21 17:13:20 2006-10-24 20:17:23 2019-06-24 00:38:44.673137 Unreviewed closed Core (Cache system) enhancement blocker master duplicate Edit inline and models without fields in the admin If a model is a ForeignFey for another model with edit_inline=models.STACKED or TABULAR but have no fields itself the admin fails to display the the page at all. Failing with a error page. {{{ class Cart(models.Model): class Admin: pass class CartItem(models.Model): cart = models.ForeignKey(Cart, edit_inline=models.STACKED) quantity = models.PositiveIntegerField(core=True) }}} adrian anonymous   0 0 0 0 0 0
2244 2006-06-27 05:11:21 2006-10-24 20:17:34 2019-06-24 00:39:07.219035 Unreviewed closed Template system defect normal master invalid 'Hitting returns' in template files are interpreted as NewLines while I want it interpreted as nothing = introduction = hi, I am trying to use django's view-template to export some contents to a text files with some format, e.g. carriage return, indentionh etc. But seems every control statement of django templte(if/for/else) are all interpreted as new lines in the exported TXT files, which make my exported files ugly. The followings are my code related: = code = * views {{{ !#python categories = Category.objects.filter(field__in=request.POST.getlist("categories")) limits = request.POST.getlist("category_limits") response = HttpResponse(mimetype="text/csv; charset=utf-16-be") response["Content-Disposition"] = "attachment; filename=indesign_export.txt" template = loader.get_template("indesign_export.txt") context = viewdata(city, categories, limits) response.write(unicode(template.render(context), "utf-8").encode("utf-16-be")) return response }}} * templates indesign_export.txt {{{ <UNICODE-MAC> {% for category in categories %} {% for subcategory in category.subcategories %} {% for listing in subcategory.listings %} {% if listing.english_menu_ok %} English menu, {% endif %} {% if listing.wifi_ok %} Wi-Fi internet, {% endif %} {% endfor %} {% endfor %} {% endfor %} }}} * Currently what resolution I have is not using Templare.reder(), I mean writing the contents directly to a file, whose content will be outputed as HttpResponse('file_content'). But this violates the MVC priciples, no VIEW, that is templates in django. * So I think this is a bug of the template system. Thanks. adrian chengqi@exoweb.net   0 0 0 0 0 0
2369 2006-07-18 00:02:35 2006-10-24 18:04:32 2019-06-24 00:40:26.550067 Unreviewed closed Database layer (models, ORM) defect normal   duplicate [patch] MySQL backend does not handle zero dates The MySQL backend installs custom conversions for DateFields and DateTimeFields. These conversion functions fail when parsing zero dates with "ValueError: year is out of range". Solution one is to allow default MySQL parsing, which transparently treats zero dates as NULL and converts valid dates to datetime objects. Solution two is to modify the conversion functions to return None when encountering a zero date. adrian jbowtie@pongacomputing.net   0 1 0 0 0 0
2518 2006-08-10 17:34:56 2006-10-24 20:17:34 2019-06-24 00:42:02.407395 Unreviewed closed contrib.admin defect normal 0.91 worksforme Should not use datetime.today() to filter datetime field datetime.today() does not consider time zone. So if u use it to filter datetime filed, it does not work correctly. Just like int tutorial was_published_today should be written like this def was_published_today(self) return self.pub_date.date() == datetime.date(time.localtime[:3]) adrian anonymous date time 0 0 0 0 0 0
2865 2006-10-03 19:22:55 2006-10-24 16:54:32 2019-06-24 00:45:42.299715 Unreviewed closed Core (Other) defect normal   fixed Refernce to request.META.SERVER_PORT cause httpd crush on Apache 2.2.2/mod_python 3.2.8 Starting from #3866, reference to request.META.SERVER_PORT is causing httpd crush on Apache 2.2.2/mod_python 3.2.8/Python 2.4.3/MacOSX 10.4.7. Here is the relevant error_log: {{{ [Tue Oct 03 12:35:05 2006] [notice] child pid 2649 exit signal Trace/BPT trap (5 ) dyld: lazy symbol binding failed: Symbol not found: _apr_sockaddr_port_get Referenced from: /usr/local/apache2/modules/mod_python.so Expected in: flat namespace dyld: Symbol not found: _apr_sockaddr_port_get Referenced from: /usr/local/apache2/modules/mod_python.so Expected in: flat namespace }}} This seems to be caused by referencing connection.local_addr attribute of a request object. Since I could not find any alternatives to find correct SERVER_PORT, I suggest just revert #3866. adrian ymasuda <ymasuda@ethercube.com>   0 0 0 0 0 0
2890 2006-10-09 08:57:53 2006-10-24 20:46:09 2019-06-24 00:45:58.042473 Unreviewed closed Contrib apps enhancement normal master fixed suggest default value for User.is_staff/is_superuser I create user objects via 'User.objects.get_or_create(username=username)' and got SQL-warnings: /usr/lib/python2.3/site-packages/django/db/backends/mysql/base.py:35: Warning: Incorrect integer value: '' for column 'is_staff' at row 1 return self.cursor.execute(sql, params) /usr/lib/python2.3/site-packages/django/db/backends/mysql/base.py:35: Warning: Incorrect integer value: '' for column 'is_superuser' at row 1 return self.cursor.execute(sql, params) I suggest default value 'False' for User.is_staff and User.is_superuser. adrian dummy@habmalnefrage.de   0 0 0 0 0 0
2898 2006-10-11 13:00:42 2006-10-24 16:49:19 2019-06-24 00:46:03.111176 Unreviewed closed Core (Other) defect major   fixed A bug: ngettext is not imported in django.db.models.fields.related {{{ Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response 74. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py" in _checklogin 55. return view_func(request, *args, **kwargs) File "/usr/lib/python2.4/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 39. response = view_func(request, *args, **kwargs) File "/usr/lib/python2.4/site-packages/django/contrib/admin/views/main.py" in change_stage 323. errors = manipulator.get_validation_errors(new_data) File "/usr/lib/python2.4/site-packages/django/forms/__init__.py" in get_validation_errors 58. errors.update(field.get_validation_errors(new_data)) File "/usr/lib/python2.4/site-packages/django/forms/__init__.py" in get_validation_errors 351. self.run_validator(new_data, validator) File "/usr/lib/python2.4/site-packages/django/forms/__init__.py" in run_validator 341. validator(new_data.get(self.field_name, ''), new_data) File "/usr/lib/python2.4/site-packages/django/db/models/fields/related.py" in isValidIDList 664. raise validators.ValidationError, ngettext("Please enter valid %(self)s IDs. The value %(value)r is invalid.", NameError at /admin/pp/zik/1/ global name 'ngettext' is not defined }}} adrian anonymous   0 0 0 0 0 0
2925 2006-10-18 01:38:37 2006-10-24 16:46:47 2019-06-24 00:46:20.305649 Unreviewed closed contrib.admin defect normal   fixed [patch] Missing exception import in an admin view An import error can occur in `django/contrib/admin/views/auth.py` when it tries to `raise PermissionDenied` in `user_add_stage`). Add this: {{{ #!python from django.core.exceptions import PermissionDenied }}} adrian SmileyChris   0 1 0 0 0 0
2928 2006-10-18 07:30:43 2006-10-24 16:45:14 2019-06-24 00:46:22.230959 Unreviewed closed Core (Management commands) enhancement normal 0.95 fixed manage inspectdb >foo.txt truncates 's' of model names on tables that end in 's' Example follows. Speaks for itself. class FavSearche(models.Model): id = models.IntegerField(primary_key=True) user = models.ForeignKey(AuthUser) searchterm = models.CharField(maxlength=765) date_added = models.DateTimeField() class Meta: db_table = 'favsearches' adrian mail@argo-navis.com   0 0 0 0 0 0
2932 2006-10-19 21:39:00 2006-10-24 22:21:56 2019-06-24 00:46:24.808778 Unreviewed closed Core (Management commands) enhancement minor master fixed [patch] manage.py reset warning should be more specific The warning prompt that you get from {{{manage.py reset}}} currently reads: {{{ You have requested a database reset. This will IRREVERSIBLY DESTROY any data in your database. Are you sure you want to do this? }}} This patch makes a small change to this function so that it identifies what application and database are being affected. The new wording (assuming an app named "catalog" and a db named "store") looks like this: {{{ You have requested a database reset. This will IRREVERSIBLY DESTROY any data for the "catalog" application in the database "store". Are you sure you want to do this? }}} When jumping between multiple Django projects in development on the same server I found I was wanting this reminder, particularly the name of the database, as a sanity check. I added the app name mostly for accuracy -- the current warning makes it sound like the whole database will be wiped out, which isn't true. adrian pb@e-scribe.com   0 1 0 0 0 0
2937 2006-10-20 02:59:42 2006-10-24 16:45:37 2019-06-24 00:46:28.071424 Unreviewed closed Contrib apps defect normal master fixed [patch]add eq ne hash for auth.models.AnonymousUser add {{{__eq__}}} {{{__ne__}}} {{{__hash__}}} for auth.models.AnonymousUser adrian favo@exoweb.net   0 1 0 0 0 0
2938 2006-10-20 09:11:43 2006-10-24 20:24:52 2019-06-24 00:46:28.700714 Unreviewed closed Core (Other) enhancement normal   wontfix SSLVerifyClient client certificate variables Our systems are all locked down to client certificate, and then usually a user is identified by the email address field on their certificate. I've initially added support for accessing the apache variable (SSL_CLIENT_S_DN_Email) by adding the following function to ModPythonRequest: {{{ def ssl_var_lookup(self, variable_name): return self._req.ssl_var_lookup(variable_name) }}} It'd be nice to have this, or an equivalent, available without patching my django source. It would also be nice to have this usable to secure the admin sections as well instead of using passwords. adrian karpet@comatose.co.uk   0 0 0 0 0 0
2943 2006-10-21 15:43:29 2006-10-24 16:37:51 2019-06-24 00:46:31.805678 Unreviewed closed contrib.admin defect normal   fixed [patch] Multi-byte charcters in verbose_name are garbled in admin. Changeset 3649 created this problem. '''repr''' doesn't treat multi-byte charcter encoding right way. '''str''' does fine. So just escape double quotation and use '''str'''. adrian mtsuyuki@gmail.com   0 1 0 0 0 0
2953 2006-10-23 20:50:48 2006-10-24 00:01:30 2019-06-24 00:46:38.147655 Unreviewed closed Core (Management commands) defect normal   invalid 'django-manage.py sqlall auth'/'python manage.py syncdb' keeps trying to install tables This is really bizarre, and hopefully there's a simple answer I've missed. Each time I try to run 'python manage.py syncdb' to update the app's tables, it tries to create the tables for the auth module. Even though they're already created. I've poured through the source, and can't figure out what the problem is. The error message suggests running 'django-manage.py sqlall auth', which I do. But all it does is output the commands to create the tables used by auth, which it shouldn't be doing. It's not giving me any hints why it doesn't see that the app is already installed. This is on RHEL 3.0, using Python 2.4 and Django 0.95. The db is MySQL 5.0.26. My bash environment is: BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="00" [2]="15" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu") BASH_VERSION='3.00.15(1)-release' COLORS=/etc/DIR_COLORS.xterm COLUMNS=80 CVSROOT=/usr/local/cvsroot DIRSTACK=() DISPLAY=localhost:14.0 DJANGO_SETTINGS_MODULE=mywriting.settings EUID=500 GROUPS=() G_BROKEN_FILENAMES=1 HISTFILE=/home/obfuscatedusername/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/home/obfuscatedusername HOSTNAME=obfuscatedhost HOSTTYPE=i386 IFS=$' \t\n' INPUTRC=/etc/inputrc KDEDIR=/usr LANG=en_US.UTF-8 LESSOPEN='|/usr/bin/lesspipe.sh %s' LINES=24 LOGNAME=obfuscatedusername LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' MACHTYPE=i386-redhat-linux-gnu MAIL=/var/spool/mail/obfuscatedusername MAILCHECK=60 OLDPWD=/home/obfuscatedusername/download/mysql5 OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/bin:/usr/bin:/usr/X11R6/bin:/… adrian anonymous   0 0 0 0 0 0
2954 2006-10-23 21:26:17 2006-10-24 20:17:47 2019-06-24 00:46:38.783020 Unreviewed closed *.djangoproject.com task trivial   fixed Mark completed milestones Please, mark completed milestones on the Roadmap as completed just to cleanup the page.[[br]] Thx, Marc. jacob telenieko@telenieko.com trac 0 0 0 0 0 0
2955 2006-10-24 00:18:18 2006-10-24 16:35:04 2019-06-24 00:46:39.409248 Unreviewed closed contrib.admin defect normal master fixed [patch] admin's delete_stage() incorrectly displays 'article_set' rather than 'article' when user has insufficient perms Using the models in http://www.djangoproject.com/documentation/models/many_to_one/ as an example, when a user deletes a Reporter without sufficient permissions to also delete the reporter's Articles the following message is displayed: {{{ Deleting the reporter 'John Doe' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects: * article_set }}} This should really read: {{{ Deleting the reporter 'John Doe' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects: * article }}} The following patch fixes this issue: {{{ Index: django/contrib/admin/views/main.py =================================================================== --- django/contrib/admin/views/main.py (revision 3917) +++ django/contrib/admin/views/main.py (working copy) @@ -454,7 +454,7 @@ if related.opts.admin and has_related_objs: p = '%s.%s' % (related.opts.app_label, related.opts.get_delete_permission()) if not user.has_perm(p): - perms_needed.add(rel_opts_name) + perms_needed.add(related.opts.verbose_name) for related in opts.get_all_related_many_to_many_objects(): if related.opts in opts_seen: continue }}} regards matthew adrian mattimustang@gmail.com   0 1 0 0 0 0
2957 2006-10-24 09:26:13 2006-10-24 15:02:13 2019-06-24 00:46:40.697436 Unreviewed closed *.djangoproject.com enhancement normal   wontfix email addresses and spam crawlers Could email addresses be rewritten on the django ticket system to make them less spam crawler friendly? jacob karpet   0 0 0 0 0 0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE "tickets_full" (
        id int primary key,
        created datetime,
        changetime datetime,
        last_pulled_from_trac datetime,
        stage text,
        status text,
        component text,
        type text,
        severity text,
        version text,
        resolution text,
        summary text,
        description text,
        owner text,
        reporter text,
        keywords text,
        easy boolean,
        has_patch boolean,
        needs_better_patch boolean,
        needs_tests boolean,
        needs_docs boolean,
        ui_ux boolean
    );