70 rows where "changetime" is on date 2007-09-15

View and edit SQL

Suggested facets: stage, component, type, severity, version, resolution, owner, needs_tests, needs_docs, created (date), last_pulled_from_trac (date)

changetime (date)

  • 2007-09-15 · 70
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
1888 2006-05-16 00:04:28 2007-09-15 05:01:58 2019-06-24 00:35:20.433165 Ready for checkin closed contrib.admin defect normal   fixed Small interface inaccuracy when using filter_interface=models.VERTICAL when using {{{ models.ManyToManyField(filter_interface=models.VERTICAL) }}} the arrow icon next to {{{ Select your choice(s) and click }}} points to the right and should point down. In addition, {{{ 'Choose all', 'Clear all' }}} options do not appear in this mode. ryankanno wnielson sprintsept14 0 1 0 0 0 0
2066 2006-06-02 07:16:41 2007-09-15 21:29:14 2019-06-24 00:37:12.568983 Design decision needed closed Contrib apps enhancement normal master fixed [patch] Make session framework backends pluggable I want a new session handler, suitable with django.contrib.auth, admin, etc... getting along with existing any modules of Django. I want session storage apart from contents database, and enhancing for load balancing and high availability. I think it is good merit for Django to have an expandable session handling system. If there are any needs for such system, I'd like to post a patch to fulfill this feature. (...Or maybe developer team is now implementing same function, though. ...Then sorry. (_ _) ) jacob hironobu@nerv.or.jp session handling 0 1 0 0 0 0
3032 2006-11-16 21:04:42 2007-09-15 18:01:29 2019-06-24 00:47:28.864190 Ready for checkin closed Contrib apps defect normal master fixed AnonymousUser has no attribute is_staff/is_superuser (django.contrib.auth) This raises a traceback if some attempts to use is_staff/is_superuser when the user is not logged in (i.e. AnonymousUser is the class). People probably shouldn't be directly using these (but e.g. checking is_authenticated first, before trying to access these), however this certainly shouldn't raise an error like this. {{{ Index: models.py =================================================================== --- models.py (revision 4065) +++ models.py (working copy) @@ -313,3 +313,9 @@ def is_authenticated(self): return False + + def is_staff(self): + return False + + def is_superuser(self): + return False \ No newline at end of file }}} This fix is trivial, but a far better solution than trying to keep these in sync. in future, would be to have an e.g. BaseUser class which is extended by both User and AnonymousUser semenov Simon Greenhill <dev@simon.net.nz> authentication, auth, anonymous 0 1 0 0 0 0
3036 2006-11-18 07:18:02 2007-09-15 08:29:59 2019-06-24 00:47:31.579848 Ready for checkin closed Testing framework defect minor master fixed Misc minor doctest failures Tried running all the easily-runnable doctests in django's source, found these minor anomolies. Sorry if this is just "noise", all errors seem to be "pedantic" and not indicitive of true bugs. {{{ File "django/core/validators.py", line 394, in django.core.validators.IsAPowerOf Failed example: v(17, None) Exception raised: Traceback (most recent call last): ... File "....django/core/validators.py", line 404, in __call__ raise ValidationError, gettext("This value must be a power of %s.") % self.power_of ValidationError: ['This value must be a power of 2.'] ********************************************************************** 1 items had failures: 1 of 5 in django.core.validators.IsAPowerOf }}} To fix, change lines 394,395 of core\validators.py to read: {{{ >>> v(17, None) Traceback (most recent call last): ... ValidationError: ['This value must be a power of 2.'] }}} next one: {{{ File "django/core/serializers/__init__.py", line 7, in django.core.serializers Failed example: json = serializers.serialize("json", some_query_set) Exception raised: Traceback (most recent call last): ... File "<doctest django.core.serializers[1]>", line 1, in ? json = serializers.serialize("json", some_query_set) NameError: name 'some_query_set' is not defined ********************************************************************** File "django/core/serializers/__init__.py", line 8, in django.core.serializers Failed example: objects = list(serializers.deserialize("json", json)) Exception raised: Traceback (most recent call last): ... File "<doctest django.core.serializers[2]>", line 1, in ? objects = list(serializers.deserialize("json", json)) File "django/core/serializers/json.py", line 32, in Deserializer for obj in PythonDeserializer(simplejson.load(stream)): File "django/utils/simplejson/__init__.py", line 177, in load return cls(encoding=encoding, **kw).decod… pterk Yary H <spam-django@yary.ack.org>   0 1 0 0 0 0
3088 2006-12-02 22:16:10 2007-09-15 05:14:16 2019-06-24 00:48:09.701075 Ready for checkin closed Internationalization defect normal   fixed Filter parameters are not translated in blocktrans Consider a template with: {% blocktrans with day|date:_("F j") as date%}Something on {{ date }}{% endblocktrans %} "F j" is not available in the resulting .po file when running make-messages.py. I found that the problem comes from the templatize function in utils/translations/trans_real.py but was not able to fix it as I am not good at playing with Lexer/Parser. permon diaeresis+bugs@gmail.com sprintsept14 0 1 0 0 0 0
3350 2007-01-22 23:25:17 2007-09-15 18:11:44 2019-06-24 00:50:55.893254 Ready for checkin closed Core (Other)     master fixed Django should call time.tzset after setting TZ environment variable. After reading #2315 I spoted this on python's documentation: {{{ Note: Although in many cases, changing the TZ environment variable may affect the output of functions like localtime without calling tzset, this behavior should not be relied on. The TZ environment variable should contain no whitespace. }}} So, Django should call tzset after setting the TZ environment variable! Origin: [http://docs.python.org/lib/module-time.html] anonymous Marc Fargas <telenieko@telenieko.com>   0 1 0 0 0 0
3604 2007-02-28 17:30:40 2007-09-15 19:45:34 2019-06-24 00:53:35.928526 Ready for checkin closed contrib.admin     master fixed Use hashlib if running under Python 2.5 This was discussed here: http://groups.google.com/group/django-developers/browse_thread/thread/d5f0951f47889770/4cb8257b8d4d8c28 Python 2.5 has deprecated the use of the sha1 and md5 modules in favor of the hashlib module. A patch will be following that implements django.contrib.auth.models methods using hashlib. nobody Rob Hudson <treborhudson@gmail.com> hashlib, sha1, md5, sprintsept14 0 1 1 0 0 0
4234 2007-05-07 08:22:23 2007-09-15 18:29:09 2019-06-24 01:00:12.296482 Ready for checkin closed Documentation     master fixed write documentation about the addin "contenttypes"... contenttypes is not yet documented: http://www.djangoproject.com/documentation/add_ons/#contenttypes ubernostrum anonymous contenttype, contenttypes, addon, addons, contrib, sprintsept14 0 1 0 0 0 0
4415 2007-05-29 11:00:06 2007-09-15 02:37:07 2019-06-24 01:02:08.369773 Ready for checkin closed Forms     master fixed PositiveIntegerField in models.py does not get validation in form_for_model Negative values do not raise a ValidationError in the form delivered by form_for_model. One solution would be to create a newforms.PositiveIntegerField class, another would be to just use newforms.IntegerField with a default value of min_value = 0. oggie_rob django@willhardy.net   0 1 0 0 0 0
4437 2007-05-30 19:27:33 2007-09-15 18:52:29 2019-06-24 01:02:22.263177 Ready for checkin closed Documentation     0.96 fixed Apache auth recipe does not work in Apache 2.2 I'm still sorting this out, but I believe that changes in Apache 2.2 have broken the auth recipe here: http://www.djangoproject.com/documentation/apache_auth/ The error produced is `Internal error: pcfg_openfile() called with NULL filename`. A bit of information on the changes (along with a suggestion for a related change) is here: https://issues.apache.org/jira/browse/MODPYTHON-169 nobody Paul Bx <pb@e-scribe.com>   0 1 0 0 0 0
4519 2007-06-10 00:46:37 2007-09-15 13:58:19 2019-06-24 01:03:15.456548 Unreviewed closed Forms     master fixed Cannot use form_from_instance with a ManyToMany field There seems to be an issue when trying to use form_from_instance if the model you're basing it on has a ManyToMany field. Here's the code I'm using and the python interpreter issue. I'm using SVN revision 5448. {{{ class Ringback(models.Model): content_provider = models.ForeignKey(ContentProvider) song_title = models.CharField(maxlength=255, db_index=True) artist = models.ForeignKey(Artist) wav_filename = models.CharField(maxlength=255) external_id = models.CharField(maxlength=255) price_code = models.CharField(maxlength=255) upload_to_comverse = models.BooleanField(default=True) upload_to_nms = models.BooleanField(default=True) comverse_categories = models.ManyToManyField(ComverseCategory, blank=True) nms_categories = models.ManyToManyField(NMSCategory, blank=True) reason= models.TextField(blank=True) entered_on = models.DateTimeField(auto_now_add=True) updated_on = models.DateTimeField(auto_now=True) entered_by = models.ForeignKey(User) duplicate_entry = models.BooleanField(default=False) duplicate_reason = models.TextField(blank=True) exported_to = models.ManyToManyField(Carrier) import_set = models.ForeignKey(RBTSource) exports = models.ManyToManyField(Export) >>> rb = Ringback.objects.get(pk=2) >>> f = form_for_instance(rb, fields=('content_provider', 'song_title','artist','wav_filename','external_id','price_code')) >>> print f() [output truncated] >>> f = form_for_instance(rb, fields=('content_provider', 'song_title','artist','wav_filename','external_id','price_code','comverse_categories')) Traceback (most recent call last): File "<console>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/newforms/models.py", line 106, in form_for_instance formfield = formfield_callback(f, initial=current_value) File "/Library/Frameworks/Python.framework/Versions/2.5/lib… msaelices todd.kennedy@gmail.com newforms manytomany sprintsept14 0 0 0 0 0 0
4587 2007-06-16 18:46:55 2007-09-15 20:11:06 2019-06-24 01:03:59.385737 Accepted closed contrib.admin     newforms-admin fixed [newforms-admin] attribute `model._meta.admin` is not assigned but it is needed in many places. This patch is quiet simple, just set attribute `model._meta.admin = admin_class` before register the model. PS: I've submit a ticket before, which fixed several bugs in newforms-admin branch including this one, but i don't see it fixed so far, so i decide to seperate this one out. nobody yi.codeplayer at gmail dot com   0 1 1 0 0 0
4692 2007-06-26 04:24:19 2007-09-15 04:58:42 2019-06-24 01:05:06.304582 Ready for checkin closed Documentation     master fixed Document required database user permissions On the db setup page http://www.djangoproject.com/documentation/databases/ There should be some specs on what rights django needs. easies way to define it is with the command: {{{ grant all on djangosite.* to djangouser identified by 'abc' with grant option; }}} For the various dbs. Only A) someone should figure out what rights are really needed, and B) maybe come up with 2 users, one for creating tables with manage.py syncdb. I can see the attitude of "if you are going to run a server you should know" but this doesn't do much good for people who just want to try it out, and i like the DBA attitude of 'you prove to me why you need it and I'll give it to you." nobody Carl Karsten <carl@personnelware.com> sql sprintsept14 0 1 0 0 0 0
4714 2007-06-28 00:29:18 2007-09-15 05:32:29 2019-06-24 01:05:20.372784 Ready for checkin closed Core (Serialization)     master fixed JSON serializer doesn't handle None primary keys correctly (has tests.) Seems conceptually similar to #2894. If you serialize('json', [model]) a model with model.id == None, you will produce json containing "pk": "None" instead of "pk": null. The offending line seems to be in django.core.serializers.python.Serializer.end_object, around line 29, when str(obj._get_pk_val()) is called (or this is intentional and the generated "None" needs to be handled further down the line). Test cases attached. pigletto phil.h.smith@gmail.com json serialization primary key None null 0 1 0 0 0 0
4879 2007-07-14 18:36:51 2007-09-15 09:14:51 2019-06-24 01:07:07.262163 Accepted closed Database layer (models, ORM)     master fixed post_create signal Patch adds post_create signal to model's save() method. This signal is useful to interact with newly created objects. gav Alexander Solovyov <alexander.solovyov@gmail.com> sprintsept14 0 1 0 0 0 0
4888 2007-07-16 10:15:17 2007-09-15 17:48:59 2019-06-24 01:07:13.122977 Ready for checkin closed Documentation     master fixed Fix Documentation: User authentication in Django In http://www.djangoproject.com/documentation/authentication/#writing-an-authentication-backend we read: {{{ An authentication backend is a class that implements two methods: ``get_user(id)`` and ``authenticate(**credentials)``. The ``get_user`` method takes an ``id`` -- which could be a username, database ID or whatever -- and returns a ``User`` object. }}} Meanwhile... {{{ $ svn cat django/contrib/auth/backends.py | grep get_user def get_user(self, user_id): }}} Additionaly code below may suggest it is complete backend class while it doesn't have{{{ get_user() }}}method. {{{ #!python class MyBackend: def authenticate(self, username=None, password=None): # Check the username/password and return a User. }}} nobody Piotr Lewandowski <django@icomputing.biz> authentication 0 1 0 0 0 0
4940 2007-07-20 23:56:27 2007-09-15 02:59:26 2019-06-24 01:07:46.454810 Accepted closed Documentation     other branch duplicate Offer print-friendly version of Django docs Hi, I'm begginer in Django. I think would be great if django documentation will be in versions to download and print. When i'm learning something I don't like switching between terminal, editor to webbrowser with documentation. I rather prefer read from paper. :) Harkins anonymous documentation 0 0 0 0 0 0
4961 2007-07-24 08:44:11 2007-09-15 00:58:38 2019-06-24 01:07:59.694881 Accepted closed Documentation     master fixed newforms docs: How to add HTML attributes Hi, here is a small patch for docs/newforms.txt I hope the wiki syntax is OK. nobody Thomas Güttler <hv@tbz-pariv.de> newforms 0 1 1 0 0 0
4963 2007-07-24 20:21:40 2007-09-15 20:23:39 2019-06-24 01:08:01.108461 Accepted closed contrib.admin     newforms-admin fixed [newforms-admin] LogLentry in options.py uses str, should use unicode   nobody Øyvind Saltvik <oyvind@saltvik.no>   0 0 0 0 0 0
5024 2007-07-31 05:25:41 2007-09-15 05:00:21 2019-06-24 01:08:40.275507 Ready for checkin closed Documentation     master fixed "Passwd" is invalid option in MySQL option file; must use "Password" I followed the instructions in the tutorial and at http://www.djangoproject.com/documentation/databases/ for configuring MySQL to work with Django using an option file. When trying to start the server with 'python manage.py runserver', the server threw an exception. The root exception was: {{{ _mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)") }}} When I changed the password line in my option file from "passwd = XXX" to "password = XXX", the error disappeared and I was able to start the server. This was strange, because when running the mysql client from the shell I can use either option "passwd" or "password" to login. I've pasted the config files below with the passwords blanked out. Software versions below config files. {{{ #settings.py ... DATABASE_ENGINE = 'mysql' DATABASE_OPTIONS = { "init_command": "SET storage_engine=INNODB", 'read_default_file': '/home/ispivey/Code/django/mysql.cnf' } ... }}} {{{ #mysql.cnf [client] database = testdb user = root passwd = XXXXX default-character-set = utf8 }}} Using:[[BR]] django trunk from svn on Jul 31st[[BR]] Ubuntu Feisty Fawn[[BR]] mysql-server 5.0.38-0[[BR]] mysqldb 1.2.1-p2-4[[BR]] nobody ispivey@gmail.com mysql database sprintsept14 0 1 0 0 0 0
5041 2007-08-01 08:57:24 2007-09-15 11:29:22 2019-06-24 01:08:51.163880 Accepted closed contrib.admin     master wontfix Admin pages insufficiently escape special characters in primary keys links To access the individual objects, the admin pages build urls which include the primary key.[[BR]] My application has models with a string as primary key.[[BR]] It turns out that the admin pages don't escape special characters in the primary keys very well. RFC 2396 (see http://www.ietf.org/rfc/rfc2396.txt) lists the following special characters (not including the characters categorized as "unwise"): : / # ? ; @ & = + $ , " < > % Django escapes only two of those: : / Because of the limited escaping one can argue that strings as primary keys are not usuable in Django for a real-life application :-( The attached patch provides a more complete escape routine. The javascript code used in popup windows also doesn't escape the special characters very well. (but I haven't looked into that yet) nobody jdetaeye@www.frepple.com url encode string 0 1 0 0 0 0
5081 2007-08-04 09:12:39 2007-09-15 20:42:33 2019-06-24 01:09:17.815028 Unreviewed closed Forms     master wontfix Defaults newforms' BooleanField to required=False Defaults newforms' BooleanField to required=False so you don't get validation errors when the checkbox is unchecked. adrian k0001 <gnuk0001@gmail.com> booleanfield required 0 1 0 0 0 0
5093 2007-08-05 23:37:27 2007-09-15 21:01:42 2019-06-24 01:09:25.675371 Unreviewed closed contrib.admin     master duplicate ForeignKey should have a constraint Most of the time when you have a ForeignKey you only want it to access some of the table's data, so I propose a constrained be implemented (like the one for the admin site). The constraint would be specified in the model and would be a QuerySet object that filters objects from the table and returns the suitable ones as FK choices. This would also work in forms, limiting their choices. nobody Poromenos <poromenos@poromenos.org>   0 0 0 0 0 0
5109 2007-08-07 15:56:30 2007-09-15 16:34:41 2019-06-24 01:09:35.984606 Ready for checkin closed HTTP handling     master fixed signals.got_request_exception send Request Object It would be nice if signals.got_request_exception passed request as an argument, especially for logging. nobody Collin Anderson <cmawebsite@gmail.com> got_request_exception 0 1 0 0 0 0
5113 2007-08-08 03:31:07 2007-09-15 23:56:50 2019-06-24 01:09:38.489791 Design decision needed closed Database layer (models, ORM)     master duplicate Foreign key not created for class "Project" Foreign keys look like they're not being created correctly if the class is named "Project". Here's sample code: {{{ from django.db import models class Client(models.Model): name = models.CharField(maxlength=200) shortname = models.CharField('short name', maxlength=5) datecreated = models.DateTimeField('date created') class Project(models.Model): client = models.ForeignKey(Client) name = models.CharField(maxlength=200) datecreated = models.DateTimeField('date created') }}} Results in this: {{{ C:\temp\django\temp\timeserver>manage.py sql timesheet BEGIN; CREATE TABLE "timesheet_project" ( "id" integer NOT NULL PRIMARY KEY, "client_id" integer NOT NULL, "name" varchar(200) NOT NULL, "datecreated" datetime NOT NULL ); CREATE TABLE "timesheet_client" ( "id" integer NOT NULL PRIMARY KEY, "name" varchar(200) NOT NULL, "shortname" varchar(5) NOT NULL, "datecreated" datetime NOT NULL ); COMMIT; }}} Note lack of foreign key relationship on timesheet_project.client_id However (note class Project renamed to Projecta) works: {{{ from django.db import models class Client(models.Model): name = models.CharField(maxlength=200) shortname = models.CharField('short name', maxlength=5) datecreated = models.DateTimeField('date created') class Projecta(models.Model): client = models.ForeignKey(Client) name = models.CharField(maxlength=200) datecreated = models.DateTimeField('date created') }}} Results in this: {{{ C:\temp\django\temp\timeserver>manage.py sql timesheet BEGIN; CREATE TABLE "timesheet_client" ( "id" integer NOT NULL PRIMARY KEY, "name" varchar(200) NOT NULL, "shortname" varchar(5) NOT NULL, "datecreated" datetime NOT NULL ); CREATE TABLE "timesheet_projecta" ( "id" integer NOT NULL PRIMARY KEY, "client_id" integer NOT NULL REFERENCES "timesheet_client" ("id"), "name" varchar(200) NOT NULL, "datecreated"… PhiR Darren <spaceship@gmail.com> foreign key backend 0 0 0 1 0 0
5177 2007-08-16 07:47:17 2007-09-15 15:06:32 2019-06-24 01:10:19.786448 Ready for checkin closed Contrib apps     master fixed ContentType should purge orphaned models When working with models there are often times when one refactors model class names which leaves orphaned content types in the database. Content types should clean themselves when they notice an app no longer contains models in the database. nobody Rob Hudson <treborhudson@gmail.com>   0 1 0 0 0 0
5233 2007-08-23 09:20:20 2007-09-15 16:58:19 2019-06-24 01:10:57.083697 Unreviewed closed contrib.admin     master worksforme Getting a "TypeError; __str__ returned non-string (type Topic)" when trying to delete a item There is no (visible, in terms of content) difference between a record that does delete and one that errors-out. Seems to have something to do with foreign keys when a Topic has votes; i get an error. If not that it works just fine. My models: {{{ class Topic(models.Model): id = models.AutoField(primary_key=True) date = models.DateTimeField() topic = models.CharField(maxlength=50) description = models.TextField() video_url = models.CharField(maxlength=50, blank=True) rating = models.IntegerField(blank=True) author = models.CharField(maxlength=25) email = models.CharField(maxlength=100) terms_accepted = models.BooleanField() key = models.SlugField() confirmed = models.BooleanField() remote_addr = models.CharField(maxlength=15, blank=True) reminder_sent = models.BooleanField() reminder_date = models.DateTimeField() class Admin: list_display = ('id', 'date', 'topic', 'rating', 'author', 'email', 'confirmed', 'video_url', 'reminder_sent', 'reminder_date') list_filter = ('date', 'confirmed') ordering = ('-rating',) search_fields = ('id', 'topic', 'description', 'author', 'email') pass def __str__(self): return self.topic class Vote(models.Model): TYPE_CHOICES = ( ('+', '+ 1'), ('-', '- 1') ) topic = models.ForeignKey(Topic) date = models.DateTimeField() email = models.CharField(maxlength=100) name = models.CharField(maxlength=25) type = models.CharField(maxlength=1, choices=TYPE_CHOICES) confirmed = models.BooleanField() key = models.SlugField(maxlength=32) reason = models.CharField(maxlength=255) reminder_sent = models.BooleanField() reminder_date = models.DateTimeField() class Admin: list_display = ('date', 'name', 'email', 'type', 'topic', 'confirmed') list_filter = ('date',) search_fields = ('name', 'email', 'topic') pass class Meta: unique_together = (('topic', 'email'),) }}} Using python 2.4.4 {{{ Traceback (most recent call last): … baumer1122 mgorree@gmail.com   0 0 0 0 0 0
5242 2007-08-24 11:11:09 2007-09-15 16:19:10 2019-06-24 01:11:02.914139 Ready for checkin closed Core (Management commands)     master fixed Table name matching fails during syncdb for dbs with case sensitive names. The manager fails to synchronize db when the connection.features.uses_case_insensitive_names option is set but the db backend returns table_list that contains lower case names. Attached is a patch that applies the same converter function to the table_list elements as to the model._meta.db_table in the existence check. It also works with Unicode names. nobody Filip Wasilewski <filip.wasilewski@gmail.com> syncdb 0 1 0 0 0 0
5264 2007-08-26 11:28:50 2007-09-15 04:30:15 2019-06-24 01:11:18.842031 Ready for checkin closed Documentation     master fixed Specify required Flup version in documentation The [http://www.djangoproject.com/documentation/fastcgi/ FastCGI] page in the documentation states: {{{ Make sure to use the latest Subversion snapshot of flup, as some users have reported stalled pages with older flup versions. }}} This note was added in [3211] on June 26, 2006, that is, over a year ago. Surely the features in the trunk version of Flup at that time have later made it to a release? Is Flup 0.5 tried and tested? anonymous akaihola   0 1 0 0 0 0
5267 2007-08-26 20:32:04 2007-09-15 17:30:23 2019-06-24 01:11:21.206592 Ready for checkin closed Database layer (models, ORM)       fixed document that order_by('?') is a huge performance issue order_by('?') generates an SQL query that is horrendous from a performance point of view (the "ORDER BY RAND() LIMIT" type query). Info on this: http://www.titov.net/2005/09/21/do-not-use-order-by-rand-or-how-to-get-random-rows-from-table/ For the current state of affairs, I think at the very least a warning should be added to http://www.djangoproject.com/documentation/db-api/#order-by-fields . That page happily states that you can use the method for obtaining a random row, but in a real scenario that is a very bad idea, and should be avoided at all costs. On a more useful approach, maybe extra code could be added to a model's Meta class if you plan on grabbing random rows from that particular table. This could set up needed tables/columns/constraints in order to extract a random row without such a big performance hit. If you use order_by('?') on a model with this Meta setting, the enhancement would be transparent. How and if this improvement could be implemented is open for discussion, and is probably database dependent. The page I linked above has some discussion on the topic. mboersma GomoX <gomo@datafull.com>   0 1 0 0 0 0
5283 2007-08-28 16:58:42 2007-09-15 02:57:50 2019-06-24 01:11:38.499281 Unreviewed closed Documentation     0.96 invalid decoupling example can be extended further In Tutorial part 3: "Now that we’ve decoupled that, we need to decouple the ‘mysite.polls.urls’ urlconf by removing the leading “polls/” from each line: urlpatterns = patterns('mysite.polls.views', (r'^$', 'index'), (r'^(?P<poll_id>\d+)/$', 'detail'), (r'^(?P<poll_id>\d+)/results/$', 'results'), (r'^(?P<poll_id>\d+)/vote/$', 'vote'), )" I tested this with: "urlpatterns = patterns('polls.views'," and it still works, and assuming this whole directory (polls) can be moved to other websites, it makes sense to drop out 'mysite.' from the pattern; allowing for copy and paste pluggability instead of copy paste and edit a little bit pluggability. nobody stringfellow@sucs.org decoupling 0 0 0 0 0 0
5284 2007-08-28 17:21:04 2007-09-15 18:43:49 2019-06-24 01:11:39.297862 Ready for checkin closed Documentation     master fixed never_cache decorator is not documented While searching docs for how to disable caching, I found that `never_cache` decorator in `django.views.decorators.cache` is not documented. It is, however, documented in changeset #2602. xbito Ville Säävuori <ville@unessa.net> cache, never_cache,sprintsept14 0 1 0 0 0 0
5291 2007-08-29 13:23:12 2007-09-15 20:43:43 2019-06-24 01:11:44.892582 Unreviewed closed Forms     master duplicate Error in newforms docu about BooleanField Validation and required The documentation about the newforms says the following, which is wrong: BooleanField * Default widget: CheckboxInput * Empty value: None * Normalizes to: A Python True or False value. * Validates nothing (i.e., it never raises a ValidationError). If you do not set required=False, it only validates if it is True. IMO one should change it's behaviour to not validate at all. But according to [http://code.djangoproject.com/ticket/5081], it wont. nobody lucasvo@vincisolutions.ch documentation boolean 0 0 0 0 0 0
5296 2007-08-29 21:39:20 2007-09-15 13:17:32 2019-06-24 01:11:48.790167 Unreviewed closed Testing framework     master wontfix [patch] Additions to TestCase for easy view testing At work we frequently have testing idioms likes this: def test_x(self): ...do database stuff... response = self.client.get('/some/url/') check the response status code check the response template check the response content check the response content_type I'm attaching a patch, with tests, that adds a "check_view" method to TestCase that wraps up the common idiom of checking the status code, the template, the content and the content_type. In my mind it's somewhat analogous to render_to_response -- it's a shortcut for a common idiom, and it doesn't prevent you from doing more complex/interesting testing with the other assertX methods. adrian Chris H. <chris@heisel.org> view client unit testing 0 1 0 0 1 0
5311 2007-08-31 14:31:34 2007-09-15 05:14:12 2019-06-24 01:11:59.373593 Accepted closed Core (Management commands)     master duplicate Validation of erroneous data model breaks with AttributeError instead of a useful message (like it used to) I've updated the data model of my django project and run manage.py sql <app_name> to check the changes. I obviously made an error but rather than reporting it, the current svn revision of django breaks with the following traceback: {{{ brickitserver|~/py/djbrickit> python manage.py sql repository Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 180, in execute_manager utility.execute(argv) File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 124, in execute command.execute(*args[1:], **options.__dict__) File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 33, in execute self.validate() File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 60, in validate num_errors = get_validation_errors(s, app) File "/usr/lib/python2.5/site-packages/django/core/management/validation.py", line 72, in get_validation_errors rel_opts = f.rel.to._meta AttributeError: 'str' object has no attribute '_meta' }}} By contrast, svn revision 5000 gives this nice informative error message for the same command: {{{ brickitserver|~/py/brickit/djbrickit> python manage.py sql repository Error: One or more models did not validate: djbrickit.repository: name 'BRICK_Format_CHOICES' is not defined }}} The offending part of my model looks like this: {{{ class Biobrick: BRICK_FORMAT_CHOICES = ( ('classic', 'classic biobrick format'),... ) ... brick_format = models.CharField( 'format of Biobrick', maxlength=30, choices=BRICK_Format_CHOICES, default='classic' ) ... }}} nobody raik.gruenberg@crg.es model validation sprintsept14 0 0 0 0 0 0
5323 2007-09-03 07:44:12 2007-09-15 02:57:06 2019-06-24 01:12:07.142146 Unreviewed closed Documentation     master invalid Small bug in tutorial In the last code sample at http://www.djangoproject.com/documentation/tutorial03/, the 'polls' app was decoupled from mysite, except for the first argument to the 'patterns' function. I tried polls.views and it seems to work, though I'm not sure if doing this has any other implications. Thanks :-) nobody anonymous   0 0 0 0 0 0
5355 2007-09-07 12:45:04 2007-09-15 11:47:00 2019-06-24 01:12:27.648250 Ready for checkin closed Forms     master fixed DecimalField may "clean" itself and then raise an Exception DecimalField may "clean" itself and then raise an Exception. In my case, it happens when I put a DecimalField in a django.newforms.Form class which will be used to "Edit" the model. I suppose it would be necessary to check the type of parameter '''value''' like some of the other "Field" classes, such as DateField. {{{ super(DecimalField, self).clean(value) if not self.required and value in EMPTY_VALUES: return None value = value.strip() # raise AttributeError, 'Decimal' object has no attribute 'strip' try: value = Decimal(value) }}} PhiR Weipin Xia <webbing@gmail.com> newforms, sprintsept14 0 1 0 0 0 0
5357 2007-09-07 15:55:38 2007-09-15 11:19:35 2019-06-24 01:12:28.956029 Ready for checkin closed Documentation     master fixed Documentation should include page argument of object_list Currently, the generic view documentation at [http://www.djangoproject.com/documentation/generic_views/#django-views-generic-list-detail-object-list] makes no mention of the page keyword argument, which is the current page being viewed. This is transparent if you are calling object_list from the urlconf, since the view receives this argument on its own. However, if you are writing a wrapper around object_list, it is important to know that it accepts the page argument since you must intercept it and pass it yourself. Otherwise the view will not function properly with pagination. mitja Brian Morton <rokclimb15@gmail.com> object_list, page, pagination, sprintsept14 0 1 0 0 1 0
5358 2007-09-07 19:19:54 2007-09-15 17:36:20 2019-06-24 01:12:29.577539 Accepted closed Forms     newforms-admin duplicate [newforms-admin] django.newforms.models.inline_formset does not do anything with fk_name arg There must be something wrong in [source:/django/branches/newforms-admin/django/newforms/models.py django/newforms/models.py] function [/browser/django/branches/newforms-admin/django/newforms/models.py#L308 inline_formset()]. If the {{{fk_name}}} argument is not {{{None}}}, the {{{fk}}} variable never gets initialized but is still used on [/browser/django/branches/newforms-admin/django/newforms/models.py#L340 line 340]. nobody akaihola   0 0 0 0 0 0
5387 2007-09-10 16:07:06 2007-09-15 10:12:06 2019-06-24 01:12:48.593429 Accepted closed Forms     master fixed method Form.is_multipart I would like to write this in a general template: {{{ #!html {% if form.is_multipart %} <form action="." method="post" enctype="multipart/form-data"> {% else %} <form action="." method="post"> {% endif %} }}} I can do it with the attached patch. murkt Petr Marhoun <petr.marhoun@gmail.com> newforms, is_multipart, sprintsept14 0 1 0 0 0 0
5389 2007-09-10 16:35:22 2007-09-15 08:43:12 2019-06-24 01:12:49.831750 Accepted closed Database layer (models, ORM)     master invalid ImportError in daily_cleanup.py after [6087] changeset '''Settings:''' {{{ INSTALLED_APPS = ( ... 'corpsite.feedagregator', ) }}} '''Traceback:''' {{{ Traceback (most recent call last): File "daily_cleanup.py", line 20, in ? clean_up() File "daily_cleanup.py", line 16, in clean_up Session.objects.filter(expire_date__lt=datetime.datetime.now()).delete() File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 342, in delete for object in del_query[0:GET_ITERATOR_CHUNK_SIZE]: File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 114, in __iter__ return iter(self._get_data()) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 482, in _get_data self._result_cache = list(self.iterator()) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 180, in iterator select, sql, params = self._get_sql_clause() File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 497, in _get_sql_clause joins2, where2, params2 = self._filters.get_sql(opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 719, in get_sql joins2, where2, params2 = val.get_sql(opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 770, in get_sql return parse_lookup(self.kwargs.items(), opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 922, in parse_lookup joins2, where2, params2 = lookup_inner(path, lookup_type, value, opts, opts.db_table, None) File "/usr/local/lib/python2.4/site-packages/django/db/models/query.py", line 987, in lookup_inner field = find_field(name, current_opts.get_all_related_many_to_many_objects(), True) File "/usr/local/lib/python2.4/site-packages/django/db/models/options.py", line 177, in get_all_related_many_to_many_objects for klass in get_models(): File "/usr/local/lib/python2.4/site-packages/django/db/models/loading.py", line 134, in get_models self._populate() … adrian Boo <boobsd@gmail.com>   0 0 0 0 0 0
5398 2007-09-11 06:14:00 2007-09-15 00:53:52 2019-06-24 01:12:55.915774 Unreviewed closed Documentation     master worksforme Making redirects work properly in views for "include"d URLconfs Here is a quote from the Django manual [http://www.djangoproject.com/documentation/0.96/url_dispatch/] ---- == Including other URLconfs == At any point, your urlpatterns can “include” other URLconf modules. This essentially “roots” a set of URLs below other ones. For example, here’s the URLconf for the Django website itself. It includes a number of other URLconfs: {{{ from django.conf.urls.defaults import * }}} {{{ urlpatterns = patterns('', (r'^weblog/', include('django_website.apps.blog.urls.blog')), (r'^documentation/', include('django_website.apps.docs.urls.docs')), (r'^comments/', include('django.contrib.comments.urls.comments')), ) }}} Note that the regular expressions in this example don’t have a $ (end-of-string match character) but do include a trailing slash. Whenever Django encounters include(), it chops off whatever part of the URL matched up to that point and sends the remaining string to the included URLconf for further processing. ---- OK, so I need to make some of my views reusable between different sites but I need them to be under different "roots". As an example I use the contrib.comments module... In site 1: {{{ urlpatterns = patterns("", (r'^comments/', include('django.contrib.comments.urls.comments')), # ... other URL's here... ) }}} In site 2: {{{ urlpatterns = patterns("", (r'^feedback/', include('django.contrib.comments.urls.comments')), # ... other URL's here... ) }}} I was trying to find a way for redirects to work in my views so that the redirects work no matter where the URL's were rooted using {{{ include() }}}. I could not find any obvious way from the documentation so I poked around in the source for django.contrib.comments.views.userflags. I found the following: {{{ return HttpResponseRedirect('%sdone/' % request.path) }}} I think the above information should be included in the documentation for "Including other URLconfs" or perhaps [http://www.djangoproject.com/documentation/0.96/tut… nobody nimrod.abing@gmail.com   0 0 0 0 0 0
5401 2007-09-11 16:25:28 2007-09-15 19:48:08 2019-06-24 01:12:57.830857 Ready for checkin closed Internationalization     newforms-admin fixed [newforms-admin] - make-messages.py does'nt work for django There are some untranslatable strings in django.contrib.admindocs: {{{ > make-messages -l cs processing language cs errors happened while running xgettext on views.py ./contrib/admindocs/views.py:172: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. ./contrib/admindocs/views.py:184: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. ./contrib/admindocs/views.py:215: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. }}} It can be solved by the attached patch. nobody Petr Marhoun <petr.marhoun@gmail.com> newforms-admin, make-messages, sprintsept14 0 1 0 0 0 0
5407 2007-09-12 03:32:49 2007-09-15 18:53:31 2019-06-24 01:13:01.921958 Accepted closed contrib.admin     newforms-admin fixed raw_id ForeignKey field behaves like a ManyToManyField Using the raw_id popup when the field is already populated results in each selected if being added with a comma. As a hint, this has to do with the field having a {{{vRawIdAdminField}}} class, which {{{RelatedObjectLookup.js}}} hooks on to. We should probably have 2 separate widgets, one for {{{ForeignKey}}} fields, and one for {{{ManyToManyField}}}s. Currently, they use the same raw_id widget. xian jkocherhans   0 0 0 0 0 0
5430 2007-09-13 21:41:10 2007-09-15 17:44:14 2019-06-24 01:13:17.024937 Accepted closed Documentation     master fixed incomplete docs for running Django's own unit tests At http://www.djangoproject.com/documentation/contributing/#unit-tests under the title "Running the unit tests", the documentation states: {{{ Yes, the unit tests need a settings module, but only for database connection info, with the DATABASE_ENGINE setting. You will also need a ROOT_URLCONF setting (its value is ignored; it just needs to be present) and a SITE_ID setting (any non-zero integer value will do) in order for all the tests to pass. The unit tests will not touch your existing databases; they create a new database, called django_test_db, which is deleted when the tests are finished. This means your user account needs permission to execute CREATE DATABASE. }}} For SQLite the above is true, but for at least PostgreSQL also {{{DATABASE_NAME}}} and {{{DATABASE_USER}}} need to be specified, and {{{DATABASE_NAME}}} must be the name of an existing database to which the user has access, but it *must not* be {{{django_test_db}}}. akaihola akaihola   0 0 0 0 0 0
5434 2007-09-14 00:47:48 2007-09-15 19:19:11 2019-06-24 01:13:19.763421 Unreviewed closed GIS     gis fixed Add preserve_topology option to GEOSGeometry.simplify By default, simplify() does not preserve topology - e.g. polygons can be split, collapse to lines or disappear holes can be created or disappear, and lines can cross. The attached patch adds a `preserve_topology` parameter. If `True` (default is `False`), the result will have the same dimension and number of components as the input. This is significantly slower. jbronn rcoup sprint 0 1 0 0 0 0
5440 2007-09-14 03:01:29 2007-09-15 18:56:35 2019-06-24 01:13:24.034316 Unreviewed closed GIS     gis fixed GEOSGeometry: Add WKB support Attached is a patch that adds WKB support to the GEOSGeometry object, which we can use for more efficient conversions/access. Create a GEOSGeometry by passing the binary data as a buffer type (via `buffer()`): {{{ # wkb = buffer('\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0?') # geom = GEOSGeometry(wkb) # geom.wkt 'POINT (0.0000000000000000 1.0000000000000000)' }}} Get the WKB out: {{{ # geom = Point(0, 1) # geom.wkb <read-only buffer for 0x2b10ff1c2030, size -1, offset 0 at 0x2b10ff1a6d18> # str(geom.wkb) '\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0?' }}} In addition to tests for WKB, I've added a number of extra tests around geometry creation from formats other than WKT. jbronn rcoup sprint 0 1 0 0 0 0
5443 2007-09-14 06:07:27 2007-09-15 11:19:50 2019-06-24 01:13:26.038285 Ready for checkin closed contrib.admin     master fixed Jython has no os.access (nor os.chmod) The Java platform has no uniform concept of permissions, so Jython don't offer functions such as os.access() or os.chmod(). So Django should avoid checking permissions when running on Jython. nobody leo.soto@gmail.com jython sprintsept14 0 1 0 0 0 0
5444 2007-09-14 06:20:37 2007-09-15 11:06:33 2019-06-24 01:13:26.659030 Ready for checkin closed Uncategorized     master fixed manipulators.py: Dynamically created classes should be types It's a obscure thing, but dynamic manipulator classes should be created using type, not types.ClassType, as it bases are new-style classes. It may work on CPython, but Jython doesn't like this mismatch. nobody leosoto <leo.soto@gmail.com> jython 0 1 0 0 0 0
5449 2007-09-14 10:12:17 2007-09-15 18:33:04 2019-06-24 01:13:29.932770 Ready for checkin closed Documentation     master fixed [patch] Documentation should mention that the JavaScript calendar widget starts the week on a Sunday While http://code.djangoproject.com/ticket/1061 is active, maybe you should change the documentation (models or admin tutorial) and say that admin selection for date start on sunday. It provides more info for non localizated english people Many thanks, Xan flother anonymous calendar admin sunday monday sprintsept14 0 1 0 0 0 0
5451 2007-09-14 12:18:39 2007-09-15 04:14:25 2019-06-24 01:13:31.271466 Ready for checkin closed Translations     master fixed Catalan translation updated Translated new strings for catalan l10n. nobody garcia_marc catalan translation i18n l10n 0 1 0 0 0 0
5452 2007-09-14 12:30:00 2007-09-15 04:14:56 2019-06-24 01:13:31.950552 Ready for checkin closed Translations     master fixed Spanish translation updated New strings translated to spanish locale. nobody garcia_marc spanish translation i18n l10n 0 1 0 0 0 0
5454 2007-09-14 13:14:02 2007-09-15 19:25:20 2019-06-24 01:13:33.290213 Accepted closed Database layer (models, ORM)     master fixed Using a user-built DB backend Since the DB backend refactoring, creating your own backend package has been easier than ever. Installing your customized backend in the Django source doesn't make sense, so the intention here is to be able to reference the backend somewhere outside the Django source. This was discussed here with some favorable results on the django-dev list: http://groups.google.com/group/django-developers/browse_thread/thread/6bdfac9b1eac8d63/9ef5a73a61671cbd?lnk=gst&q=george+vilches&rnum=1#9ef5a73a61671cbd nobody George Vilches <gav@thataddress.com> database backend sprintsept14 0 1 1 0 0 0
5456 2007-09-14 13:41:27 2007-09-15 04:43:49 2019-06-24 01:13:34.591045 Ready for checkin closed Translations     master fixed Add an Irish translation Please find attached the files for an Irish translation, locale "ga", Thanks Michael nobody michael.thornhill@gmail.com Irish 0 1 0 0 0 0
5462 2007-09-14 16:51:35 2007-09-15 12:20:35 2019-06-24 01:13:39.401119 Ready for checkin closed contrib.localflavor     master fixed Add PE (Peruvian) localflavor Add a PE localflavor for Department, DNI and RUC fields. xbito xbito   0 1 0 1 0 0
5468 2007-09-14 19:32:33 2007-09-15 11:12:55 2019-06-24 01:13:43.227512 Ready for checkin closed Template system     master fixed [patch] direct_to_template uses literal dict in keyword arg This is not a real problem, just bad practice, with a trivial fix. {{{ def direct_to_template(request, template, extra_context={}, mimetype=None, **kwargs) }}} nobody durdinator   0 1 0 0 0 0
5470 2007-09-14 20:17:34 2007-09-15 10:36:15 2019-06-24 01:13:44.568444 Ready for checkin closed Template system     master fixed "Z" in dateformat does not work for negative utc offsets The timedelta object never returns seconds as negative. To calculate the offset in seconds you must also take the days member into account since days can be negative. nobody Paul Lanier date 0 1 0 0 0 0
5471 2007-09-14 20:28:15 2007-09-15 14:03:07 2019-06-24 01:13:45.174800 Ready for checkin closed Forms     master fixed BooleanField fails to work when processing data from as_hidden If a BooleanField is referenced in the Template with .as_hidden then the returned value for False is '0'. Since BooleanField does a simple bool() in clean, this is converted to True. The patch adds an explicit check for '0' and returns false in this case. nobody Paul Lanier <planier@google.com> BooleanField as_hidden 0 1 0 0 0 0
5473 2007-09-14 20:41:15 2007-09-15 04:54:17 2019-06-24 01:13:46.530832 Ready for checkin closed Translations     master fixed Finnish translation strings need updating The translation strings for Finnish are out of date. akaihola akaihola Finnish 0 1 0 0 0 0
5477 2007-09-14 21:58:09 2007-09-15 09:51:57 2019-06-24 01:13:49.248367 Ready for checkin closed Documentation     master fixed Template doc page missing an important link On the template documentation, the django.contrib.markup section (http://www.djangoproject.com/documentation/templates/#django-contrib-markup) is missing the link to the markup section (http://www.djangoproject.com/documentation/add_ons/#markup), like how django.contrib.humanize and django.contrib.webdesign have their respective links. mitja rich@richardcornish.com add-ons documentation 0 1 0 0 0 0
5479 2007-09-14 22:25:45 2007-09-15 12:23:38 2019-06-24 01:13:50.581463 Ready for checkin closed HTTP handling     master fixed changes to accommodate HTTPResponse.headers move to _headers   PhiR PhiR   0 1 0 0 0 0
5482 2007-09-14 23:28:24 2007-09-15 04:53:35 2019-06-24 01:13:52.477599 Ready for checkin closed Documentation     master fixed reST error in generic views docs There is a reST error in the generic views docs, but the patch for #2603 fixes it :) nickefford nickefford sprintsept14 0 1 0 0 0 0
5483 2007-09-15 01:59:05 2007-09-15 04:52:48 2019-06-24 01:13:53.123116 Ready for checkin closed Template system     master fixed Remove `load_and_render` In `django.shortcuts`, `load_and_render` is created as an alias to `render_to_response`, for "backwards compatibility". At this point even the most ancient code in World Online's repository isn't relying on this, so let's get rid of it. nobody ubernostrum load_and_render sprintsept14 0 1 0 0 0 0
5484 2007-09-15 02:58:16 2007-09-15 18:39:45 2019-06-24 01:13:53.750066 Accepted closed Documentation     master fixed render_to_string is undocumented django.template.loader.render_to_string is undocumented please document. ubernostrum xian render_to_string sprintsept14 0 0 1 0 1 0
5486 2007-09-15 04:54:18 2007-09-15 09:51:42 2019-06-24 01:13:55.000110 Ready for checkin closed Uncategorized     master fixed Jython has no os.getpid os.getpid() is used by django.contrib.session for session ids and by django.core.mail for msgids. nobody leosoto <leo.soto@gmail.com> jython 0 1 0 0 0 0
5487 2007-09-15 08:12:03 2007-09-15 10:57:03 2019-06-24 01:13:55.812158 Unreviewed closed Uncategorized     master fixed object.__new__(method_descriptor) is not safe, use method_descriptor.__new__() Traceback (most recent call last): File "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\core\handlers\base.py" in _real_get_response 81. response = callback(request, *callback_args, **callback_kwargs) File "D:\myWay\stuhome_django\website\apps\accounts\views.py" in details 9. return HttpResponse(DetailsForm()) File "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\forms.py" in __init__ 76. self.fields = self.base_fields.copy() File "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\forms.py" in copy 34. return SortedDictFromList([(k, copy.deepcopy(v)) for k, v in self.items()]) File "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\fields.py" in __deepcopy__ 107. result.widget = copy.deepcopy(self.widget, memo) TypeError at /accounts/ object.__new__(method_descriptor) is not safe, use method_descriptor.__new__() nobody zsp007@gmail.com   0 0 0 0 0 0
5488 2007-09-15 08:39:02 2007-09-15 18:13:50 2019-06-24 01:13:57.606728 Accepted closed contrib.admin     newforms-admin fixed newforms-admin: inline fields with multiple fk's between models doesn't work In case a single foreign key relation exists between the inline model and its parent, all is fine.[[BR]] When there are multiple keys between the models, the InlineModelAdmin class provides the field fk_name in which we can define which one to use. The required lookup when the fk_name is specified has not been coded yet: forgotten or skipped-for-now. [[BR]] The attached patch provides the implementation. jdetaeye jdetaeye newforms-admin: inline 0 1 0 0 0 0
5489 2007-09-15 10:00:41 2007-09-15 10:11:26 2019-06-24 01:13:58.279587 Unreviewed closed Documentation     master fixed Changes on set_language generic view from i18n not reflected in docs In [6177] was changed set_language_view() to require POST request instead of GET, in accordance with the HTTP spec. This is not documented on doc {{{i18n.txt}}}. msaelices msaelices i18n 0 1 0 0 0 0
5492 2007-09-15 14:09:50 2007-09-15 14:46:41 2019-06-24 01:14:00.219977 Unreviewed closed Documentation     master fixed Typo error in docs/i18n.txt This is actual fragment: {{{ You create and update the translation catalogs the same way as the other Django translation catalogs -- with the {{{make-messages.py}}} tool. The only difference is you need to provide a ``-d djangojs`` parameter, like this:: }}} And should be that: {{{ You create and update the translation catalogs the same way as the other Django translation catalogs -- with the ``make-messages.py`` tool. The only difference is you need to provide a ``-d djangojs`` parameter, like this:: }}} msaelices msaelices i18n docs javascript 0 0 0 0 0 0
5495 2007-09-15 16:51:21 2007-09-15 17:32:53 2019-06-24 01:14:02.175166 Unreviewed closed Documentation     master fixed docs/i18n.txt Organization, spelling, grammar Upon request from #django-sprint, I've re-organized some parts of docs/i18n.txt, and done some grammar and spell-checking. Please look over it, for I am only an egg, and an ignorant American, and I do not grok Internationalization in fullness. nobody Axis_of_Entropy internationalization i18n sprintsept14 0 1 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
    );