Re: [Django] #11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev documentation

2009-06-18 Thread Django
#11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev
documentation
+---
  Reporter:  achew22| Owner:  nobody 
Status:  closed | Milestone:  1.1
 Component:  Documentation  |   Version:  SVN
Resolution:  duplicate  |  Keywords:  Documentation, typo
 Stage:  Unreviewed | Has_patch:  0  
Needs_docs:  0  |   Needs_tests:  0  
Needs_better_patch:  0  |  
+---
Changes (by kmtracey):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 Closing in favor of #11344 which reports the same thing more clearly and
 also has another comment on the same section.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev documentation

2009-06-18 Thread Django
#11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev
documentation
+---
  Reporter:  achew22| Owner:  nobody 
Status:  new| Milestone:  1.1
 Component:  Documentation  |   Version:  SVN
Resolution: |  Keywords:  Documentation, typo
 Stage:  Unreviewed | Has_patch:  0  
Needs_docs:  0  |   Needs_tests:  0  
Needs_better_patch:  0  |  
+---
Changes (by kmtracey):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 What Python error?  A line containing
 `sys.path.append('/your/project/path')` isn't dependent on coming after an
 import of `django.core.handlers.wsgi`.  Or did you read that sentence as
 saying to put the `sys.path.append` above the first import?  I suppose
 that could be clarified.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev documentation

2009-06-18 Thread Django
#11343: Typo on the page "How to use Django with Apache and mod_wsgi" in dev
documentation
-+--
 Reporter:  achew22  |   Owner:  nobody
   Status:  new  |   Milestone:  1.1   
Component:  Documentation| Version:  SVN   
 Keywords:  Documentation, typo  |   Stage:  Unreviewed
Has_patch:  0|  
-+--
 If you read the dev docs on WSGI
 (http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#basic-
 configuration) it says "just '''above''' the import line to place your
 project on the path". That will cause a python error, I think the line
 should be something like "just '''below''' the import line to place your
 project on the path"

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11077 - django/branches/soc2009/multidb

2009-06-18 Thread noreply

Author: Alex
Date: 2009-06-18 19:35:35 -0500 (Thu, 18 Jun 2009)
New Revision: 11077

Modified:
   django/branches/soc2009/multidb/TODO.txt
Log:
[soc2009/multidb] Updated the TODO to more accurately reflect the current state 
of things.

Modified: django/branches/soc2009/multidb/TODO.txt
===
--- django/branches/soc2009/multidb/TODO.txt2009-06-19 00:29:18 UTC (rev 
11076)
+++ django/branches/soc2009/multidb/TODO.txt2009-06-19 00:35:35 UTC (rev 
11077)
@@ -5,7 +5,7 @@
 that need to be done.  I'm trying to be as granular as possible.
 
 
-2)  Update all old references to ``settings.DATABASE_*`` to reference
+1)  Update all old references to ``settings.DATABASE_*`` to reference
 ``settings.DATABASES``.  This includes the following locations
 
 * ref/settings -- needs to be upddated for TEST_*
@@ -16,34 +16,26 @@
 Replace old instances of :setting:`DATABASE_` with a new tag or something.
 
 
-3)  Update all management commands in the following way:
+2)  Update all management commands in the following way:
 
 * ``dumpdata``: By default dump the ``default`` database.  Later add a
   ``--database`` flag.
 
 flush, reset, and syncdb need to not prompt the user multiple times.
 
-7)  Remove any references to the global ``django.db.connection`` object in the
+3)  Remove any references to the global ``django.db.connection`` object in the
 SQL creation process.  This includes(but is probably not limited to):
 
 * The way we create ``Query`` from ``BaseQuery`` is awkward and hacky.
+* ``Field.get_db_prep_lookup``
+* ``DateField.get_db_prep_value``
+* ``DateTimeField.get_db_prep_value``
+* ``DecimalField.get_db_prep_save``
+* ``TimeField.get_db_prep_value``
 
+4)  Wait on the merge of the m2m stuff.
+
 5)  Add the ``using`` Meta option.  Tests and docs(these are to be assumed at
 each stage from here on out).
 
-8)  Implement some way to create a new ``Query`` for a different backend when
-we switch.  There are several checks against ``self.connection`` prior to
-SQL construction, so we either need to defer all these(which will be
-difficult, but probably not impossible), or have an alternate strategy,
-such as:
-
-* Remove all tests against ``Query.connection`` before the SQL generation
-  phase.  This involves changing the following methods:
-
-* ``Field.get_db_prep_lookup``
-* ``DateField.get_db_prep_value``
-* ``DateTimeField.get_db_prep_value``
-* ``DecimalField.get_db_prep_save``
-* ``TimeField.get_db_prep_value``
-
-10) Time permitting add support for a ``DatabaseManager``.
+6) Time permitting add support for a ``DatabaseManager``.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11076 - django/branches/soc2009/multidb/tests/regressiontests/multiple_database

2009-06-18 Thread noreply

Author: Alex
Date: 2009-06-18 19:29:18 -0500 (Thu, 18 Jun 2009)
New Revision: 11076

Modified:
   
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
Log:
[soc2009/multidb] Added tests to ensure that objects aren't being created 
before they are supposed to be, which would indicate we weren't creating 
objects in the right DB.

Modified: 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
===
--- 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
2009-06-19 00:21:38 UTC (rev 11075)
+++ 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
2009-06-19 00:29:18 UTC (rev 11076)
@@ -28,6 +28,8 @@
 class QueryTestCase(TestCase):
 def test_basic_queries(self):
 for db in connections:
+self.assertRaises(Book.DoesNotExist,
+lambda: Book.objects.using(db).get(title="Dive into Python"))
 Book.objects.using(db).create(title="Dive into Python",
 published=datetime.date(2009, 5, 4))
 
@@ -39,6 +41,8 @@
 self.assertEqual(books[0].published, datetime.date(2009, 5, 4))
 
 for db in connections:
+self.assertRaises(Book.DoesNotExist,
+lambda: Book.objects.using(db).get(title="Pro Django"))
 book = Book(title="Pro Django", published=datetime.date(2008, 12, 
16))
 book.save(using=db)
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #4604: session-based messages

2009-06-18 Thread Django
#4604: session-based messages
--+-
  Reporter:  Sean Patrick Hogan   | Owner:  
leahculver
Status:  new  | Milestone:  
1.2   
 Component:  Contrib apps |   Version:  
SVN   
Resolution:   |  Keywords:  
  
 Stage:  Accepted | Has_patch:  
1 
Needs_docs:  0|   Needs_tests:  
0 
Needs_better_patch:  1|  
--+-
Comment (by SmileyChris):

 leah: Personally I wouldn't bother the conversion until the issue is
 discussed a bit more in django-dev - and that discussion would best wait
 until after 1.1

 But if you still need some help after then, I'd be more than happy. Let's
 just get a solution!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9504: Extension for restructuredtext filter a django.contrib.markup

2009-06-18 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
-+--
  Reporter:  jjconti | Owner:  nobody   
  
Status:  new | Milestone:   
  
 Component:  Contrib apps|   Version:  1.0  
  
Resolution:  |  Keywords:  markup 
restructuredtext
 Stage:  Design decision needed  | Has_patch:  0
  
Needs_docs:  0   |   Needs_tests:  0
  
Needs_better_patch:  0   |  
-+--
Comment (by SmileyChris):

 See also: #11342

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11342: Allow non-HTML output for restructuredtext markup filter

2009-06-18 Thread Django
#11342: Allow non-HTML output for restructuredtext markup filter
-+--
  Reporter:  Fredo   | Owner:  nobody
Status:  new | Milestone:
 Component:  Template system |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by SmileyChris):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Design decision needed
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #4604: session-based messages

2009-06-18 Thread Django
#4604: session-based messages
--+-
  Reporter:  Sean Patrick Hogan   | Owner:  
leahculver
Status:  new  | Milestone:  
1.2   
 Component:  Contrib apps |   Version:  
SVN   
Resolution:   |  Keywords:  
  
 Stage:  Accepted | Has_patch:  
1 
Needs_docs:  0|   Needs_tests:  
0 
Needs_better_patch:  1|  
--+-
Changes (by leahculver):

  * owner:  daniel_martins => leahculver
  * status:  assigned => new

Comment:

 I'm going to take a stab at converting django-flash + django-notify into
 something that looks like a contrib app with docs and tests. Let me know
 if you'd like to help! I think sticking with the "flash" name, although it
 sucks, will end up being a good thing.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10317: New Feature: django.contrib.markup.fields.MarkupField

2009-06-18 Thread Django
#10317: New Feature: django.contrib.markup.fields.MarkupField
-+--
  Reporter:  jamesturk   | Owner:  jamesturk   
Status:  new | Milestone:  
 Component:  Contrib apps|   Version:  SVN 
Resolution:  |  Keywords:  markup forms
 Stage:  Design decision needed  | Has_patch:  1   
Needs_docs:  0   |   Needs_tests:  1   
Needs_better_patch:  0   |  
-+--
Comment (by jamesturk):

 I am now maintaining django-markupfield in a github repository at
 http://github.com/jamesturk/django-markupfield/ it is not the exact
 version debated on the list as I personally did not find that useful
 (though I do see how this version is too special of a case to fit into
 django core)

 Should the design decision on this come down in favor of something akin to
 what I am now maintaining externally I would be more than happy to do the
 integration necessary to produce a patch that moves MarkupField into
 django.contrib.markup

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11342: Allow non-HTML output for restructuredtext markup filter

2009-06-18 Thread Django
#11342: Allow non-HTML output for restructuredtext markup filter
-+--
 Reporter:  Fredo|   Owner:  nobody
   Status:  new  |   Milestone:
Component:  Template system  | Version:  1.0   
 Keywords:   |   Stage:  Unreviewed
Has_patch:  1|  
-+--
 One advantage of reStructuredText over other lightweight markup languages
 is that it’s not limited to HTML output. Especially, the standard docutils
 provide a LaTeX writer, which allows for PDF generation. But also ODF
 output is supported.

 I wrote a small patch that allows to change the rst writer, either through
 the settings module or through a filter parameter.

 Please note that this patch conflicts with the one discussed in ticket
 #9504. It is probably a general design decision which one to prefer, if
 any.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10970: auto_now_add for DateField evaluetes to datetime.datetime instance

2009-06-18 Thread Django
#10970: auto_now_add for DateField evaluetes to datetime.datetime instance
---+
  Reporter:  summerisgone  | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  Database layer (models, ORM)  |   Version:  1.0

Resolution:|  Keywords:  DateField, 
auto_now_add
 Stage:  Unreviewed| Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by summerisgone):

 Nope, there wasn't reason to use {{{datetime.now().date()}}} instead
 {{{datetime.date.today()}}}. I've updated patch, thank you.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11306: QuerySet.exclude on ManyToMany field raises EmptyResultSet

2009-06-18 Thread Django
#11306: QuerySet.exclude on ManyToMany field raises EmptyResultSet
---+
  Reporter:  suf...@gmail.com  | Owner:  nobody 
  
Status:  closed| Milestone:  1.1
  
 Component:  Database layer (models, ORM)  |   Version:  1.0
  
Resolution:  fixed |  Keywords:  QuerySet, 
exclude, ManyToMany, EmptyResultSet
 Stage:  Unreviewed| Has_patch:  0  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by suf...@gmail.com):

  * status:  new => closed
  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * milestone:  1.2 => 1.1
  * needs_docs:  => 0
  * resolution:  => fixed

Comment:

 Tested in trunk (svn revision 10984), the problem is fixed there.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11341: Dot symbols in url in flatpages

2009-06-18 Thread Django
#11341: Dot symbols in url in flatpages
---+
  Reporter:  bugmenot  | Owner:  nobody   
Status:  closed| Milestone:   
 Component:  Contrib apps  |   Version:  1.0  
Resolution:  duplicate |  Keywords:  flatpages
 Stage:  Unreviewed| Has_patch:  0
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by kmtracey):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 #7663 already reported exactly this and has been closed as a dupe of
 #5192.

 The spam checker goes by IP address, I believe (maybe in addition to
 content).  If your ISP's IP range has been associated with spam you won't
 be able post anonymously (I can't) even the most innocuous content.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11073 - in django/branches/soc2009/multidb: django/db django/db/models tests/regressiontests/multiple_database

2009-06-18 Thread noreply

Author: Alex
Date: 2009-06-18 12:31:36 -0500 (Thu, 18 Jun 2009)
New Revision: 11073

Modified:
   django/branches/soc2009/multidb/django/db/models/query.py
   django/branches/soc2009/multidb/django/db/utils.py
   
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
Log:
[soc2009/multidb] Ensure that when a QuerySet is given a Query object in its 
construct that we correct the detect the connection that is being used

Modified: django/branches/soc2009/multidb/django/db/models/query.py
===
--- django/branches/soc2009/multidb/django/db/models/query.py   2009-06-18 
17:05:59 UTC (rev 11072)
+++ django/branches/soc2009/multidb/django/db/models/query.py   2009-06-18 
17:31:36 UTC (rev 11073)
@@ -38,8 +38,7 @@
 self._result_cache = None
 self._iter = None
 self._sticky_filter = False
-self._using = DEFAULT_DB_ALIAS # this will be wrong if a custom Query
-   # is provided with a non default 
connection
+self._using = connections.alias_for_connection(self.query.connection)
 
 
 # PYTHON MAGIC METHODS #

Modified: django/branches/soc2009/multidb/django/db/utils.py
===
--- django/branches/soc2009/multidb/django/db/utils.py  2009-06-18 17:05:59 UTC 
(rev 11072)
+++ django/branches/soc2009/multidb/django/db/utils.py  2009-06-18 17:31:36 UTC 
(rev 11073)
@@ -68,3 +68,13 @@
 
 def all(self):
 return [self[alias] for alias in self]
+
+def alias_for_connection(self, connection):
+"""
+Returns the alias for the given connection object.
+"""
+for alias in self:
+conn_settings = self.databases[alias]
+if conn_settings == connection.settings_dict:
+return alias
+return None

Modified: 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
===
--- 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
2009-06-18 17:05:59 UTC (rev 11072)
+++ 
django/branches/soc2009/multidb/tests/regressiontests/multiple_database/tests.py
2009-06-18 17:31:36 UTC (rev 11073)
@@ -6,7 +6,7 @@
 
 from models import Book
 
-class DatabaseSettingTestCase(TestCase):
+class ConnectionHandlerTestCase(TestCase):
 def setUp(self):
 settings.DATABASES['__test_db'] = {
 'DATABASE_ENGINE': 'sqlite3',
@@ -20,6 +20,11 @@
 connections['default'].cursor()
 connections['__test_db'].cursor()
 
+def test_alias_for_connection(self):
+for db in connections:
+self.assertEqual(db, 
connections.alias_for_connection(connections[db]))
+
+
 class QueryTestCase(TestCase):
 def test_basic_queries(self):
 for db in connections:


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11072 - django/branches/soc2009/multidb/docs/ref

2009-06-18 Thread noreply

Author: Alex
Date: 2009-06-18 12:05:59 -0500 (Thu, 18 Jun 2009)
New Revision: 11072

Modified:
   django/branches/soc2009/multidb/docs/ref/django-admin.txt
Log:
[soc2009/multidb] Removed a duplicate bit of docs that snuck in during a merge

Modified: django/branches/soc2009/multidb/docs/ref/django-admin.txt
===
--- django/branches/soc2009/multidb/docs/ref/django-admin.txt   2009-06-18 
17:03:52 UTC (rev 11071)
+++ django/branches/soc2009/multidb/docs/ref/django-admin.txt   2009-06-18 
17:05:59 UTC (rev 11072)
@@ -697,12 +697,6 @@
 The alias for the database to print the SQL for.  By default uses the
 ``'default'`` alias.
 
---database
-~~
-
-The alias for the database to print the SQL for.  By default uses the
-``'default'`` alias.
-
 startapp 
 --
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11070 - in django/branches/releases/1.0.X: . django/templatetags tests/regressiontests/templates

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 10:14:04 -0500 (Thu, 18 Jun 2009)
New Revision: 11070

Modified:
   django/branches/releases/1.0.X/
   django/branches/releases/1.0.X/django/templatetags/cache.py
   django/branches/releases/1.0.X/tests/regressiontests/templates/tests.py
Log:
[1.0.X] Fixed #11270 -- Modified cache template tag to prevent the creation of 
very long cache keys. Thanks to 235 for the report and patch.

Merge of r11068 from trunk.



Property changes on: django/branches/releases/1.0.X
___
Name: svnmerge-integrated
   - 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041,11043-11054,11067
   + 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041,11043-11054,11067-11068

Modified: django/branches/releases/1.0.X/django/templatetags/cache.py

Re: [Django] #11289: Name conflict in test suite

2009-06-18 Thread Django
#11289: Name conflict in test suite
+---
  Reporter:  steveire   | Owner:  nobody
Status:  closed | Milestone:
 Component:  Uncategorized  |   Version:  1.0   
Resolution:  fixed  |  Keywords:
 Stage:  Ready for checkin  | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Comment (by russellm):

 (In [11069]) Fixed #11289 -- Corrected naming conflict in templatetag
 test. Thanks to steveire for the report.

 (Commit message referenced wrong ticket)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11270: Cache templatetag with memcached can't handle long tags

2009-06-18 Thread Django
#11270: Cache templatetag with memcached can't handle long tags
---+
  Reporter:  235   | Owner:  nobody
Status:  closed| Milestone:  1.1   
 Component:  Cache system  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Comment (by russellm):

 Please ignore the commit message for [11067] - that commit should have
 referenced #11289.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11289: Name conflict in test suite

2009-06-18 Thread Django
#11289: Name conflict in test suite
+---
  Reporter:  steveire   | Owner:  nobody
Status:  closed | Milestone:
 Component:  Uncategorized  |   Version:  1.0   
Resolution:  fixed  |  Keywords:
 Stage:  Ready for checkin  | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by russellm):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [11067]) Fixed #11289 -- Corrected naming conflict in templatetag
 test. Thanks to steveire for the report.

 (Commit message referenced wrong ticket)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11069 - in django/branches/releases/1.0.X: . tests/regressiontests/templates

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 10:07:22 -0500 (Thu, 18 Jun 2009)
New Revision: 11069

Modified:
   django/branches/releases/1.0.X/
   django/branches/releases/1.0.X/tests/regressiontests/templates/tests.py
Log:
[1.0.X] Fixed #11270 -- Corrected naming conflict in templatetag test. Thanks 
to steveire for the report.

Merge of r11067 from trunk.



Property changes on: django/branches/releases/1.0.X
___
Name: svnmerge-integrated
   - 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041,11043-11054
   + 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041,11043-11054,11067

Modified: 
django/branches/releases/1.0.X/tests/regressiontests/templates/tests.py
===
--- 

[Changeset] r11068 - in django/trunk: django/templatetags tests/regressiontests/templates

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 10:04:00 -0500 (Thu, 18 Jun 2009)
New Revision: 11068

Modified:
   django/trunk/django/templatetags/cache.py
   django/trunk/tests/regressiontests/templates/tests.py
Log:
Fixed #11270 -- Modified cache template tag to prevent the creation of very 
long cache keys. Thanks to 235 for the report and patch.

Modified: django/trunk/django/templatetags/cache.py
===
--- django/trunk/django/templatetags/cache.py   2009-06-18 15:03:17 UTC (rev 
11067)
+++ django/trunk/django/templatetags/cache.py   2009-06-18 15:04:00 UTC (rev 
11068)
@@ -3,6 +3,7 @@
 from django.core.cache import cache
 from django.utils.encoding import force_unicode
 from django.utils.http import urlquote
+from django.utils.hashcompat import md5_constructor
 
 register = Library()
 
@@ -23,7 +24,8 @@
 except (ValueError, TypeError):
 raise TemplateSyntaxError('"cache" tag got a non-integer timeout 
value: %r' % expire_time)
 # Build a unicode key for this fragment and all vary-on's.
-cache_key = u':'.join([self.fragment_name] + 
[urlquote(resolve_variable(var, context)) for var in self.vary_on])
+args = md5_constructor(u':'.join([urlquote(resolve_variable(var, 
context)) for var in self.vary_on]))
+cache_key = 'template.cache.%s.%s' % (self.fragment_name, 
args.hexdigest())
 value = cache.get(cache_key)
 if value is None:
 value = self.nodelist.render(context)

Modified: django/trunk/tests/regressiontests/templates/tests.py
===
--- django/trunk/tests/regressiontests/templates/tests.py   2009-06-18 
15:03:17 UTC (rev 11067)
+++ django/trunk/tests/regressiontests/templates/tests.py   2009-06-18 
15:04:00 UTC (rev 11068)
@@ -1014,6 +1014,9 @@
 # Regression test for #7460.
 'cache16': ('{% load cache %}{% cache 1 foo bar %}{% endcache %}', 
{'foo': 'foo', 'bar': 'with spaces'}, ''),
 
+# Regression test for #11270.
+'cache17': ('{% load cache %}{% cache 10 long_cache_key poem 
%}Some Content{% endcache %}', {'poem': 'Oh freddled gruntbuggly/Thy 
micturations are to me/As plurdled gabbleblotchits/On a lurgid bee/That 
mordiously hath bitled out/Its earted jurtles/Into a rancid festering/Or else I 
shall rend thee in the gobberwarts with my blurglecruncheon/See if I dont.'}, 
'Some Content'),
+
 ### AUTOESCAPE TAG ##
 'autoescape-tag01': ("{% autoescape off %}hello{% endautoescape 
%}", {}, "hello"),
 'autoescape-tag02': ("{% autoescape off %}{{ first }}{% 
endautoescape %}", {"first": "hello"}, "hello"),


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11067 - django/trunk/tests/regressiontests/templates

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 10:03:17 -0500 (Thu, 18 Jun 2009)
New Revision: 11067

Modified:
   django/trunk/tests/regressiontests/templates/tests.py
Log:
Fixed #11270 -- Corrected naming conflict in templatetag test. Thanks to 
steveire for the report.

Modified: django/trunk/tests/regressiontests/templates/tests.py
===
--- django/trunk/tests/regressiontests/templates/tests.py   2009-06-18 
14:22:39 UTC (rev 11066)
+++ django/trunk/tests/regressiontests/templates/tests.py   2009-06-18 
15:03:17 UTC (rev 11067)
@@ -69,7 +69,7 @@
 
 class SomeOtherException(Exception):
 pass
-
+
 class ContextStackException(Exception):
 pass
 
@@ -629,7 +629,7 @@
 
 # Logically the same as above, just written with explicit
 # ifchanged for the day.
-'ifchanged-param04': ('{% for d in days %}{% ifchanged d.day %}{{ 
d.day }}{% endifchanged %}{% for h in d.hours %}{% ifchanged d.day h %}{{ h 
}}{% endifchanged %}{% endfor %}{% endfor %}', {'days':[{'day':1, 
'hours':[1,2,3]},{'day':2, 'hours':[3]},] }, '112323'),
+'ifchanged-param05': ('{% for d in days %}{% ifchanged d.day %}{{ 
d.day }}{% endifchanged %}{% for h in d.hours %}{% ifchanged d.day h %}{{ h 
}}{% endifchanged %}{% endfor %}{% endfor %}', {'days':[{'day':1, 
'hours':[1,2,3]},{'day':2, 'hours':[3]},] }, '112323'),
 
 # Test the else clause of ifchanged.
 'ifchanged-else01': ('{% for id in ids %}{{ id }}{% ifchanged id 
%}-first{% else %}-other{% endifchanged %},{% endfor %}', {'ids': 
[1,1,2,2,2,3]}, '1-first,1-other,2-first,2-other,2-other,3-first,'),


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11340: HttpResponseNotModified should not return Content-Type header

2009-06-18 Thread Django
#11340: HttpResponseNotModified should not return Content-Type header
---+
 Reporter:  aparajita  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  HTTP handling  | Version:  SVN   
 Keywords: |   Stage:  Unreviewed
Has_patch:  1  |  
---+
 Currently the HttpResponseNotModified class always returns a Content-Type
 header of text/html. Safari 4 complains about this. The http spec does not
 say that a 304 response should not have a Content-Type header, but on the
 other hand it expressly forbids a content body, so  a Content-Type header
 does seem superfluous.

 In any case, this can be fixed (and Safari stops complaining) with a
 simple change to the HttpResponseModified class. A patch is attached.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11066 - django/branches/releases/1.0.X

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:22:39 -0500 (Thu, 18 Jun 2009)
New Revision: 11066

Modified:
   django/branches/releases/1.0.X/
Log:
[1.0.X] Updated svnmerge properties for recent commits


Property changes on: django/branches/releases/1.0.X
___
Name: svnmerge-integrated
   - 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041
   + 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041,11043-11054


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 

[Changeset] r11062 - django/branches/releases/1.0.X/docs/releases

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:17:13 -0500 (Thu, 18 Jun 2009)
New Revision: 11062

Modified:
   django/branches/releases/1.0.X/docs/releases/1.0-porting-guide.txt
Log:
[1.0.X] Fixed #9 -- Corrected spelling error in 1.0 porting guide.

Merge of r11050 from trunk.

Modified: django/branches/releases/1.0.X/docs/releases/1.0-porting-guide.txt
===
--- django/branches/releases/1.0.X/docs/releases/1.0-porting-guide.txt  
2009-06-18 14:16:45 UTC (rev 11061)
+++ django/branches/releases/1.0.X/docs/releases/1.0-porting-guide.txt  
2009-06-18 14:17:13 UTC (rev 11062)
@@ -677,7 +677,7 @@
   management.call_command('flush', verbosity=0, interactive=False)
   management.call_command('loaddata', 'test_data', verbosity=0)
 
-Subcommands must now preceed options
+Subcommands must now precede options
 
 
 ``django-admin.py`` and ``manage.py`` now require subcommands to precede


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11061 - django/branches/releases/1.0.X/docs/ref/contrib

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:16:45 -0500 (Thu, 18 Jun 2009)
New Revision: 11061

Modified:
   django/branches/releases/1.0.X/docs/ref/contrib/admin.txt
Log:
[1.0.X] Fixed #11141 -- Corrected a code example in the admin docs. Thanks to 
jodal for the report, and SmileyChris for the patch.

Merge of r11049 from trunk.

Modified: django/branches/releases/1.0.X/docs/ref/contrib/admin.txt
===
--- django/branches/releases/1.0.X/docs/ref/contrib/admin.txt   2009-06-18 
14:16:13 UTC (rev 11060)
+++ django/branches/releases/1.0.X/docs/ref/contrib/admin.txt   2009-06-18 
14:16:45 UTC (rev 11061)
@@ -339,7 +339,7 @@
   birthday = models.DateField()
 
   def born_in_fifties(self):
-  return self.birthday.strftime('%Y')[:3] == 5
+  return self.birthday.strftime('%Y')[:3] == '195'
   born_in_fifties.boolean = True
 
   class PersonAdmin(admin.ModelAdmin):


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11060 - django/branches/releases/1.0.X/docs/topics/http

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:16:13 -0500 (Thu, 18 Jun 2009)
New Revision: 11060

Modified:
   django/branches/releases/1.0.X/docs/topics/http/middleware.txt
Log:
[1.0.X] Fixed #11322 -- Clarified docs regarding middleware processing. Thanks 
the Michael Malone for the patch.

Merge of r11048 from trunk.

Modified: django/branches/releases/1.0.X/docs/topics/http/middleware.txt
===
--- django/branches/releases/1.0.X/docs/topics/http/middleware.txt  
2009-06-18 14:15:27 UTC (rev 11059)
+++ django/branches/releases/1.0.X/docs/topics/http/middleware.txt  
2009-06-18 14:16:13 UTC (rev 11060)
@@ -108,15 +108,18 @@
 ``request`` is an :class:`~django.http.HttpRequest` object. ``response`` is the
 :class:`~django.http. HttpResponse` object returned by a Django view.
 
-``process_response()`` should return an :class:`~django.http. HttpResponse`
+``process_response()`` must return an :class:`~django.http. HttpResponse`
 object. It could alter the given ``response``, or it could create and return a
 brand-new :class:`~django.http. HttpResponse`.
 
-Remember that your middleware will not be called if another middleware object
-returns a response before you. But unlike ``process_request()`` and
-``process_view()``, during the response phase the classes are applied in 
reverse
-order, from the bottom up. This means classes defined at the end of
-:setting:`MIDDLEWARE_CLASSES` will be run first.
+Unlike the ``process_request()`` and ``process_view()`` methods, the
+``process_response()`` method is always called, even if the 
``process_request()``
+and ``process_view()`` methods of the same middleware class were skipped 
because
+an earlier middleware method returned an :class:`~django.http. HttpResponse`
+(this means that your ``process_response()`` method cannot rely on setup done 
in
+``process_request()``, for example). In addition, during the response phase the
+classes are applied in reverse order, from the bottom up. This means classes
+defined at the end of :setting:`MIDDLEWARE_CLASSES` will be run first.
 
 .. _exception-middleware:
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11059 - django/branches/releases/1.0.X/docs/topics/forms

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:15:27 -0500 (Thu, 18 Jun 2009)
New Revision: 11059

Modified:
   django/branches/releases/1.0.X/docs/topics/forms/modelforms.txt
Log:
[1.0.X] Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant 
for the report.

Merge of r11047 from trunk.

Modified: django/branches/releases/1.0.X/docs/topics/forms/modelforms.txt
===
--- django/branches/releases/1.0.X/docs/topics/forms/modelforms.txt 
2009-06-18 14:14:52 UTC (rev 11058)
+++ django/branches/releases/1.0.X/docs/topics/forms/modelforms.txt 
2009-06-18 14:15:27 UTC (rev 11059)
@@ -579,7 +579,7 @@
 the unique constraints on your model (either ``unique``, ``unique_together`` or
 ``unique_for_date|month|year``).  If you want to overide the ``clean()`` method
 on a ``model_formset`` and maintain this validation, you must call the parent
-classes ``clean`` method::
+class's ``clean`` method::
 
 class MyModelFormSet(BaseModelFormSet):
 def clean(self):


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11058 - django/branches/releases/1.0.X/docs/ref

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:14:52 -0500 (Thu, 18 Jun 2009)
New Revision: 11058

Modified:
   django/branches/releases/1.0.X/docs/ref/settings.txt
Log:
[1.0.X] Fixed #11312 -- Fixed the default value given for DEFAULT_FILE_STORAGE 
in the docs. THanks to x00...@gmail.com for the patch.

Merge of r11046 from trunk.

Modified: django/branches/releases/1.0.X/docs/ref/settings.txt
===
--- django/branches/releases/1.0.X/docs/ref/settings.txt2009-06-18 
14:14:21 UTC (rev 11057)
+++ django/branches/releases/1.0.X/docs/ref/settings.txt2009-06-18 
14:14:52 UTC (rev 11058)
@@ -195,7 +195,7 @@
 Default: ``''`` (Empty string)
 
 The name of the database to use. For SQLite, it's the full path to the database
-file. When specifying the path, always use forward slashes, even on Windows  
+file. When specifying the path, always use forward slashes, even on Windows
 (e.g. ``C:/homes/user/mysite/sqlite3.db``).
 
 .. setting:: DATABASE_OPTIONS
@@ -228,7 +228,7 @@
 default port. Not used with SQLite.
 
 .. setting:: DATABASE_USER
-   
+
 DATABASE_USER
 -
 
@@ -251,7 +251,7 @@
 and ``MONTH_DAY_FORMAT``.
 
 .. setting:: DATETIME_FORMAT
-   
+
 DATETIME_FORMAT
 ---
 
@@ -330,7 +330,7 @@
 DEFAULT_FILE_STORAGE
 
 
-Default: ``django.core.files.storage.FileSystemStorage``
+Default: ``'django.core.files.storage.FileSystemStorage'``
 
 Default file storage class to be used for any file-related operations that 
don't
 specify a particular storage system. See :ref:`topics-files`.
@@ -519,15 +519,15 @@
 .. warning::
 
 **Always prefix the mode with a 0.**
-
+
 If you're not familiar with file modes, please note that the leading
 ``0`` is very important: it indicates an octal number, which is the
 way that modes must be specified. If you try to use ``644``, you'll
 get totally incorrect behavior.
-
 
-.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html 
 
+.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html
+
 .. setting:: FIXTURE_DIRS
 
 FIXTURE_DIRS
@@ -1165,7 +1165,7 @@
 Django cannot reliably use alternate time zones in a Windows environment.
 If you're running Django on Windows, this variable must be set to match the
 system timezone.
-
+
 .. _See available choices: 
http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
 
 .. setting:: URL_VALIDATOR_USER_AGENT


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11057 - django/branches/releases/1.0.X/docs/topics/db

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:14:21 -0500 (Thu, 18 Jun 2009)
New Revision: 11057

Modified:
   django/branches/releases/1.0.X/docs/topics/db/queries.txt
Log:
[1.0.X] Fixed #11278 -- Clarified query documentation regarding bulk assignment 
of m2m values. Thanks to zgoda for the patch.

Merge of r11045 and r11054 from trunk.

Modified: django/branches/releases/1.0.X/docs/topics/db/queries.txt
===
--- django/branches/releases/1.0.X/docs/topics/db/queries.txt   2009-06-18 
14:13:50 UTC (rev 11056)
+++ django/branches/releases/1.0.X/docs/topics/db/queries.txt   2009-06-18 
14:14:21 UTC (rev 11057)
@@ -8,8 +8,8 @@
 
 Once you've created your :ref:`data models `, Django
 automatically gives you a database-abstraction API that lets you create,
-retrieve, update and delete objects. This document explains how to use this 
-API. Refer to the :ref:`data model reference ` for full 
+retrieve, update and delete objects. This document explains how to use this
+API. Refer to the :ref:`data model reference ` for full
 details of all the various model lookup options.
 
 Throughout this guide (and in the reference), we'll refer to the following
@@ -94,11 +94,11 @@
 
 
 Updating ``ForeignKey`` fields works exactly the same way as saving a normal
-field; simply assign an object of the right type to the field in question:: 
+field; simply assign an object of the right type to the field in question::
 
->>> cheese_blog = Blog.objects.get(name="Cheddar Talk") 
->>> entry.blog = cheese_blog 
->>> entry.save() 
+>>> cheese_blog = Blog.objects.get(name="Cheddar Talk")
+>>> entry.blog = cheese_blog
+>>> entry.save()
 
 Updating a ``ManyToManyField`` works a little differently; use the ``add()``
 method on the field to add a record to the relation::
@@ -245,7 +245,7 @@
 >>> q = q.filter(pub_date__lte=datetime.now())
 >>> q = q.exclude(body_text__icontains="food")
 >>> print q
-
+
 Though this looks like three database hits, in fact it hits the database only
 once, at the last line (``print q``). In general, the results of a ``QuerySet``
 aren't fetched from the database until you "ask" for them. When you do, the
@@ -275,7 +275,7 @@
 This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``)::
 
 >>> Entry.objects.all()[5:10]
-
+
 Negative indexing (i.e. ``Entry.objects.all()[-1]``) is not supported.
 
 Generally, slicing a ``QuerySet`` returns a new ``QuerySet`` -- it doesn't
@@ -335,15 +335,15 @@
 
 :lookup:`exact`
 An "exact" match. For example::
-
+
 >>> Entry.objects.get(headline__exact="Man bites dog")
 
 Would generate SQL along these lines:
-
+
 .. code-block:: sql
 
 SELECT ... WHERE headline = 'Man bites dog';
-
+
 If you don't provide a lookup type -- that is, if your keyword argument
 doesn't contain a double underscore -- the lookup type is assumed to be
 ``exact``.
@@ -354,36 +354,36 @@
 >>> Blog.objects.get(id=14) # __exact is implied
 
 This is for convenience, because ``exact`` lookups are the common case.
-
+
 :lookup:`iexact`
 A case-insensitive match. So, the query::
-
+
 >>> Blog.objects.get(name__iexact="beatles blog")
-
+
 Would match a ``Blog`` titled "Beatles Blog", "beatles blog", or even
 "BeAtlES blOG".
-
+
 :lookup:`contains`
 Case-sensitive containment test. For example::
 
 Entry.objects.get(headline__contains='Lennon')
 
 Roughly translates to this SQL:
-
+
 .. code-block:: sql
 
 SELECT ... WHERE headline LIKE '%Lennon%';
 
 Note this will match the headline ``'Today Lennon honored'`` but not
 ``'today lennon honored'``.
-
+
 There's also a case-insensitive version, :lookup:`icontains`.
-
+
 :lookup:`startswith`, :lookup:`endswith`
 Starts-with and ends-with search, respectively. There are also
 case-insensitive versions called :lookup:`istartswith` and
 :lookup:`iendswith`.
-
+
 Again, this only scratches the surface. A complete reference can be found in 
the
 :ref:`field lookup reference `.
 
@@ -506,7 +506,7 @@
 
 # Get blogs entries with id 1, 4 and 7
 >>> Blog.objects.filter(pk__in=[1,4,7])
-
+
 # Get all blog entries with id > 14
 >>> Blog.objects.filter(pk__gt=14)
 
@@ -731,7 +731,7 @@
 instance you want to point to. Example::
 
 >>> b = Blog.objects.get(pk=1)
-
+
 # Change every Entry so that it belongs to this Blog.
 >>> Entry.objects.all().update(blog=b)
 
@@ -880,11 +880,15 @@
 Removes all objects from the related object set.
 
 To assign the members of a related set in one fell swoop, just assign to it
-from any iterable object. Example::
+from 

[Changeset] r11056 - in django/branches/releases/1.0.X/docs: intro topics/http

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:13:50 -0500 (Thu, 18 Jun 2009)
New Revision: 11056

Modified:
   django/branches/releases/1.0.X/docs/intro/overview.txt
   django/branches/releases/1.0.X/docs/intro/tutorial01.txt
   django/branches/releases/1.0.X/docs/intro/tutorial02.txt
   django/branches/releases/1.0.X/docs/intro/tutorial03.txt
   django/branches/releases/1.0.X/docs/topics/http/sessions.txt
Log:
[1.0.X] Fixed #11272 -- Made some clarifications to the overview and tutorial. 
Thanks to jjinux for the review notes.

Merge of r11044 from trunk.

Modified: django/branches/releases/1.0.X/docs/intro/overview.txt
===
--- django/branches/releases/1.0.X/docs/intro/overview.txt  2009-06-18 
14:12:55 UTC (rev 11055)
+++ django/branches/releases/1.0.X/docs/intro/overview.txt  2009-06-18 
14:13:50 UTC (rev 11056)
@@ -144,10 +144,10 @@
 headline = models.CharField(max_length=200)
 content = models.TextField()
 reporter = models.ForeignKey(Reporter)
-
 
+
 # In admin.py in the same directory...
-
+
 import models
 from django.contrib import admin
 
@@ -243,9 +243,9 @@
 Articles for {{ year }}
 
 {% for article in article_list %}
-{{ article.headline }}
-By {{ article.reporter.full_name }}
-Published {{ article.pub_date|date:"F j, Y" }}
+{{ article.headline }}
+By {{ article.reporter.full_name }}
+Published {{ article.pub_date|date:"F j, Y" }}
 {% endfor %}
 {% endblock %}
 

Modified: django/branches/releases/1.0.X/docs/intro/tutorial01.txt
===
--- django/branches/releases/1.0.X/docs/intro/tutorial01.txt2009-06-18 
14:12:55 UTC (rev 11055)
+++ django/branches/releases/1.0.X/docs/intro/tutorial01.txt2009-06-18 
14:13:50 UTC (rev 11056)
@@ -42,13 +42,13 @@
 create a ``mysite`` directory in your current directory.
 
 .. admonition:: Mac OS X permissions
-   
+
If you're using Mac OS X, you may see the message "permission denied" when
you try to run ``django-admin.py startproject``. This is because, on
Unix-based systems like OS X, a file must be marked as "executable" before 
it
can be run as a program. To do this, open Terminal.app and navigate (using
the ``cd`` command) to the directory where :ref:`django-admin.py
-   ` is installed, then run the command 
+   ` is installed, then run the command
``chmod +x django-admin.py``.
 
 .. note::
@@ -90,14 +90,14 @@
 * :file:`__init__.py`: An empty file that tells Python that this directory
   should be considered a Python package. (Read `more about packages`_ in 
the
   official Python docs if you're a Python beginner.)
-  
+
 * :file:`manage.py`: A command-line utility that lets you interact with 
this
   Django project in various ways. You can read all the details about
   :file:`manage.py` in :ref:`ref-django-admin`.
-  
+
 * :file:`settings.py`: Settings/configuration for this Django project.
   :ref:`topics-settings` will tell you all about how settings work.
-
+
 * :file:`urls.py`: The URL declarations for this Django project; a "table 
of
   contents" of your Django-powered site. You can read more about URLs in
   :ref:`topics-http-urls`.
@@ -134,22 +134,22 @@
 .. admonition:: Changing the port
 
 By default, the :djadmin:`runserver` command starts the development server
-on the internal IP at port 8000. 
-
+on the internal IP at port 8000.
+
 If you want to change the server's port, pass
 it as a command-line argument. For instance, this command starts the server
 on port 8080:
-
+
 .. code-block:: bash
 
 python manage.py runserver 8080
-
+
 If you want to change the server's IP, pass it along with the port. So to
 listen on all public IPs (useful if you want to show off your work on other
 computers), use:
-
+
 .. code-block:: bash
-
+
 python manage.py runserver 0.0.0.0:8000
 
 Full docs for the development server can be found in the
@@ -164,21 +164,21 @@
 
 * :setting:`DATABASE_ENGINE` -- Either 'postgresql_psycopg2', 'mysql' or
   'sqlite3'. Other backends are :setting:`also available 
`.
-  
+
 * :setting:`DATABASE_NAME` -- The name of your database. If you're using
   SQLite, the database will be a file on your computer; in that case,
   ``DATABASE_NAME`` should be the full absolute path, including filename, 
of
   that file. If the file doesn't exist, it will automatically be created
   when you synchronize the database for the first time (see below).
-  
-  When specifying the path, always use forward slashes, even on Windows 
+
+  When specifying the path, always use forward slashes, even on Windows
   (e.g. ``C:/homes/user/mysite/sqlite3.db``).
-  
+
 * :setting:`DATABASE_USER` -- Your database 

[Changeset] r11055 - django/branches/releases/1.0.X

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 09:12:55 -0500 (Thu, 18 Jun 2009)
New Revision: 11055

Modified:
   django/branches/releases/1.0.X/AUTHORS
Log:
[1.0.X] Fixed #10848 -- Added prairiedogg to AUTHORS.

Merge of r11043 from trunk.

Modified: django/branches/releases/1.0.X/AUTHORS
===
--- django/branches/releases/1.0.X/AUTHORS  2009-06-18 13:44:26 UTC (rev 
11054)
+++ django/branches/releases/1.0.X/AUTHORS  2009-06-18 14:12:55 UTC (rev 
11055)
@@ -217,6 +217,7 @@
 Ben Dean Kawamura 
 Ian G. Kelly 
 Thomas Kerpe 
+Wiley Kestner 
 Ossama M. Khayat 
 Ben Khoo 
 Garth Kidd 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11054 - django/trunk/docs/topics/db

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:44:26 -0500 (Thu, 18 Jun 2009)
New Revision: 11054

Modified:
   django/trunk/docs/topics/db/queries.txt
Log:
Made correction to documentation change from [11045].

Modified: django/trunk/docs/topics/db/queries.txt
===
--- django/trunk/docs/topics/db/queries.txt 2009-06-18 13:37:10 UTC (rev 
11053)
+++ django/trunk/docs/topics/db/queries.txt 2009-06-18 13:44:26 UTC (rev 
11054)
@@ -946,15 +946,13 @@
 
 To assign the members of a related set in one fell swoop, just assign to it
 from any iterable object. The iterable can contain object instances, or just
-a list of primary key values. For Example::
+a list of primary key values. For example::
 
-Example::
-
 b = Blog.objects.get(id=1)
 b.entry_set = [e1, e2]
 
 In this example, ``e1`` and ``e2`` can be full Entry instances, or integer
-values representing primary keys.
+primary key values.
 
 If the ``clear()`` method is available, any pre-existing objects will be
 removed from the ``entry_set`` before all objects in the iterable (in this


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11272: Various minor errors in the tutorial

2009-06-18 Thread Django
#11272: Various minor errors in the tutorial
+---
  Reporter:  jjinux | Owner:  nobody
Status:  closed | Milestone:
 Component:  Documentation  |   Version:  1.0   
Resolution:  fixed  |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by russellm):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [11044]) Fixed #11272 -- Made some clarifications to the overview and
 tutorial. Thanks to jjinux for the review notes.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11221: sqlsequencereset documentation refers a URL that results in a 404

2009-06-18 Thread Django
#11221: sqlsequencereset documentation refers a URL that results in a 404
--+-
  Reporter:  Rob Hudson   | Owner:  
nobody
Status:  closed   | Milestone:  
  
 Component:  Documentation|   Version:  1.0 
  
Resolution:  fixed|  Keywords:  
  
 Stage:  Ready for checkin| Has_patch:  0   
  
Needs_docs:  0|   Needs_tests:  0   
  
Needs_better_patch:  0|  
--+-
Changes (by russellm):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [11053]) Fixed #11221 -- Replaced a reference to a non-existent URL
 with an actual explanation of sequences. Thanks to Rob Hudson for the
 report, and SmileyChris for the patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11053 - django/trunk/docs/ref

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:37:10 -0500 (Thu, 18 Jun 2009)
New Revision: 11053

Modified:
   django/trunk/docs/ref/django-admin.txt
Log:
Fixed #11221 -- Replaced a reference to a non-existent URL with an actual 
explanation of sequences. Thanks to Rob Hudson for the report, and SmileyChris 
for the patch.

Modified: django/trunk/docs/ref/django-admin.txt
===
--- django/trunk/docs/ref/django-admin.txt  2009-06-18 13:36:40 UTC (rev 
11052)
+++ django/trunk/docs/ref/django-admin.txt  2009-06-18 13:37:10 UTC (rev 
11053)
@@ -611,8 +611,12 @@
 
 Prints the SQL statements for resetting sequences for the given app name(s).
 
-See http://simon.incutio.com/archive/2004/04/21/postgres for more information.
+Sequences are indexes used by some database engines to track the next available
+number for automatically incremented fields.
 
+Use this command to generate SQL which will fix cases where a sequence is out
+of sync with its automatically incremented field data.
+
 startapp 
 --
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11052 - django/trunk/docs/intro

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:36:40 -0500 (Thu, 18 Jun 2009)
New Revision: 11052

Modified:
   django/trunk/docs/intro/tutorial03.txt
Log:
Fixed #10978 -- Clarified that the include statement is part of the urlpattern 
definition. Thanks to swatermasysk for the suggestion.

Modified: django/trunk/docs/intro/tutorial03.txt
===
--- django/trunk/docs/intro/tutorial03.txt  2009-06-18 13:36:11 UTC (rev 
11051)
+++ django/trunk/docs/intro/tutorial03.txt  2009-06-18 13:36:40 UTC (rev 
11052)
@@ -467,7 +467,10 @@
 ``mysite/urls.py`` to remove the poll-specific URLs and insert an
 :func:`~django.conf.urls.defaults.include`::
 
-(r'^polls/', include('mysite.polls.urls')),
+...
+urlpatterns = patterns('',
+(r'^polls/', include('mysite.polls.urls')),
+...
 
 :func:`~django.conf.urls.defaults.include`, simply, references another URLconf.
 Note that the regular expression doesn't have a ``$`` (end-of-string match


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11049 - django/trunk/docs/ref/contrib/admin

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:35:06 -0500 (Thu, 18 Jun 2009)
New Revision: 11049

Modified:
   django/trunk/docs/ref/contrib/admin/index.txt
Log:
Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for 
the report, and SmileyChris for the patch.

Modified: django/trunk/docs/ref/contrib/admin/index.txt
===
--- django/trunk/docs/ref/contrib/admin/index.txt   2009-06-18 13:34:27 UTC 
(rev 11048)
+++ django/trunk/docs/ref/contrib/admin/index.txt   2009-06-18 13:35:06 UTC 
(rev 11049)
@@ -347,7 +347,7 @@
   birthday = models.DateField()
 
   def born_in_fifties(self):
-  return self.birthday.strftime('%Y')[:3] == 5
+  return self.birthday.strftime('%Y')[:3] == '195'
   born_in_fifties.boolean = True
 
   class PersonAdmin(admin.ModelAdmin):


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11048 - django/trunk/docs/topics/http

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:34:27 -0500 (Thu, 18 Jun 2009)
New Revision: 11048

Modified:
   django/trunk/docs/topics/http/middleware.txt
Log:
Fixed #11322 -- Clarified docs regarding middleware processing. Thanks the 
Michael Malone for the patch.

Modified: django/trunk/docs/topics/http/middleware.txt
===
--- django/trunk/docs/topics/http/middleware.txt2009-06-18 13:33:52 UTC 
(rev 11047)
+++ django/trunk/docs/topics/http/middleware.txt2009-06-18 13:34:27 UTC 
(rev 11048)
@@ -107,15 +107,18 @@
 ``request`` is an :class:`~django.http.HttpRequest` object. ``response`` is the
 :class:`~django.http. HttpResponse` object returned by a Django view.
 
-``process_response()`` should return an :class:`~django.http. HttpResponse`
+``process_response()`` must return an :class:`~django.http. HttpResponse`
 object. It could alter the given ``response``, or it could create and return a
 brand-new :class:`~django.http. HttpResponse`.
 
-Remember that your middleware will not be called if another middleware object
-returns a response before you. But unlike ``process_request()`` and
-``process_view()``, during the response phase the classes are applied in 
reverse
-order, from the bottom up. This means classes defined at the end of
-:setting:`MIDDLEWARE_CLASSES` will be run first.
+Unlike the ``process_request()`` and ``process_view()`` methods, the
+``process_response()`` method is always called, even if the 
``process_request()``
+and ``process_view()`` methods of the same middleware class were skipped 
because
+an earlier middleware method returned an :class:`~django.http. HttpResponse`
+(this means that your ``process_response()`` method cannot rely on setup done 
in
+``process_request()``, for example). In addition, during the response phase the
+classes are applied in reverse order, from the bottom up. This means classes
+defined at the end of :setting:`MIDDLEWARE_CLASSES` will be run first.
 
 .. _exception-middleware:
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11047 - django/trunk/docs/topics/forms

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:33:52 -0500 (Thu, 18 Jun 2009)
New Revision: 11047

Modified:
   django/trunk/docs/topics/forms/modelforms.txt
Log:
Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for the 
report.

Modified: django/trunk/docs/topics/forms/modelforms.txt
===
--- django/trunk/docs/topics/forms/modelforms.txt   2009-06-18 13:33:18 UTC 
(rev 11046)
+++ django/trunk/docs/topics/forms/modelforms.txt   2009-06-18 13:33:52 UTC 
(rev 11047)
@@ -611,7 +611,7 @@
 the unique constraints on your model (either ``unique``, ``unique_together`` or
 ``unique_for_date|month|year``).  If you want to overide the ``clean()`` method
 on a ``model_formset`` and maintain this validation, you must call the parent
-classes ``clean`` method::
+class's ``clean`` method::
 
 class MyModelFormSet(BaseModelFormSet):
 def clean(self):


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11046 - django/trunk/docs/ref

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:33:18 -0500 (Thu, 18 Jun 2009)
New Revision: 11046

Modified:
   django/trunk/docs/ref/settings.txt
Log:
Fixed #11312 -- Fixed the default value given for DEFAULT_FILE_STORAGE in the 
docs. THanks to x00...@gmail.com for the patch.

Modified: django/trunk/docs/ref/settings.txt
===
--- django/trunk/docs/ref/settings.txt  2009-06-18 13:32:48 UTC (rev 11045)
+++ django/trunk/docs/ref/settings.txt  2009-06-18 13:33:18 UTC (rev 11046)
@@ -195,7 +195,7 @@
 Default: ``''`` (Empty string)
 
 The name of the database to use. For SQLite, it's the full path to the database
-file. When specifying the path, always use forward slashes, even on Windows  
+file. When specifying the path, always use forward slashes, even on Windows
 (e.g. ``C:/homes/user/mysite/sqlite3.db``).
 
 .. setting:: DATABASE_OPTIONS
@@ -228,7 +228,7 @@
 default port. Not used with SQLite.
 
 .. setting:: DATABASE_USER
-   
+
 DATABASE_USER
 -
 
@@ -251,7 +251,7 @@
 and ``MONTH_DAY_FORMAT``.
 
 .. setting:: DATETIME_FORMAT
-   
+
 DATETIME_FORMAT
 ---
 
@@ -330,7 +330,7 @@
 DEFAULT_FILE_STORAGE
 
 
-Default: ``django.core.files.storage.FileSystemStorage``
+Default: ``'django.core.files.storage.FileSystemStorage'``
 
 Default file storage class to be used for any file-related operations that 
don't
 specify a particular storage system. See :ref:`topics-files`.
@@ -519,15 +519,15 @@
 .. warning::
 
 **Always prefix the mode with a 0.**
-
+
 If you're not familiar with file modes, please note that the leading
 ``0`` is very important: it indicates an octal number, which is the
 way that modes must be specified. If you try to use ``644``, you'll
 get totally incorrect behavior.
-
 
-.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html 
 
+.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html
+
 .. setting:: FIXTURE_DIRS
 
 FIXTURE_DIRS
@@ -1153,7 +1153,7 @@
 Django cannot reliably use alternate time zones in a Windows environment.
 If you're running Django on Windows, this variable must be set to match the
 system timezone.
-
+
 .. _See available choices: 
http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
 
 .. setting:: URL_VALIDATOR_USER_AGENT


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11045 - django/trunk/docs/topics/db

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:32:48 -0500 (Thu, 18 Jun 2009)
New Revision: 11045

Modified:
   django/trunk/docs/topics/db/queries.txt
Log:
Fixed #11278 -- Clarified query documentation regarding bulk assignment of m2m 
values. Thanks to zgoda for the patch.

Modified: django/trunk/docs/topics/db/queries.txt
===
--- django/trunk/docs/topics/db/queries.txt 2009-06-18 13:32:12 UTC (rev 
11044)
+++ django/trunk/docs/topics/db/queries.txt 2009-06-18 13:32:48 UTC (rev 
11045)
@@ -278,7 +278,7 @@
 This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``)::
 
 >>> Entry.objects.all()[5:10]
-
+
 Negative indexing (i.e. ``Entry.objects.all()[-1]``) is not supported.
 
 Generally, slicing a ``QuerySet`` returns a new ``QuerySet`` -- it doesn't
@@ -945,11 +945,17 @@
 Removes all objects from the related object set.
 
 To assign the members of a related set in one fell swoop, just assign to it
-from any iterable object. Example::
+from any iterable object. The iterable can contain object instances, or just
+a list of primary key values. For Example::
 
+Example::
+
 b = Blog.objects.get(id=1)
 b.entry_set = [e1, e2]
 
+In this example, ``e1`` and ``e2`` can be full Entry instances, or integer
+values representing primary keys.
+
 If the ``clear()`` method is available, any pre-existing objects will be
 removed from the ``entry_set`` before all objects in the iterable (in this
 case, a list) are added to the set. If the ``clear()`` method is *not*


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11044 - in django/trunk/docs: intro ref/contrib topics/http

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:32:12 -0500 (Thu, 18 Jun 2009)
New Revision: 11044

Modified:
   django/trunk/docs/intro/overview.txt
   django/trunk/docs/intro/tutorial01.txt
   django/trunk/docs/intro/tutorial02.txt
   django/trunk/docs/intro/tutorial03.txt
   django/trunk/docs/ref/contrib/contenttypes.txt
   django/trunk/docs/topics/http/sessions.txt
Log:
Fixed #11272 -- Made some clarifications to the overview and tutorial. Thanks 
to jjinux for the review notes.

Modified: django/trunk/docs/intro/overview.txt
===
--- django/trunk/docs/intro/overview.txt2009-06-18 13:30:52 UTC (rev 
11043)
+++ django/trunk/docs/intro/overview.txt2009-06-18 13:32:12 UTC (rev 
11044)
@@ -144,10 +144,10 @@
 headline = models.CharField(max_length=200)
 content = models.TextField()
 reporter = models.ForeignKey(Reporter)
-
 
+
 # In admin.py in the same directory...
-
+
 import models
 from django.contrib import admin
 
@@ -243,9 +243,9 @@
 Articles for {{ year }}
 
 {% for article in article_list %}
-{{ article.headline }}
-By {{ article.reporter.full_name }}
-Published {{ article.pub_date|date:"F j, Y" }}
+{{ article.headline }}
+By {{ article.reporter.full_name }}
+Published {{ article.pub_date|date:"F j, Y" }}
 {% endfor %}
 {% endblock %}
 

Modified: django/trunk/docs/intro/tutorial01.txt
===
--- django/trunk/docs/intro/tutorial01.txt  2009-06-18 13:30:52 UTC (rev 
11043)
+++ django/trunk/docs/intro/tutorial01.txt  2009-06-18 13:32:12 UTC (rev 
11044)
@@ -42,13 +42,13 @@
 create a ``mysite`` directory in your current directory.
 
 .. admonition:: Mac OS X permissions
-   
+
If you're using Mac OS X, you may see the message "permission denied" when
you try to run ``django-admin.py startproject``. This is because, on
Unix-based systems like OS X, a file must be marked as "executable" before 
it
can be run as a program. To do this, open Terminal.app and navigate (using
the ``cd`` command) to the directory where :ref:`django-admin.py
-   ` is installed, then run the command 
+   ` is installed, then run the command
``chmod +x django-admin.py``.
 
 .. note::
@@ -90,14 +90,14 @@
 * :file:`__init__.py`: An empty file that tells Python that this directory
   should be considered a Python package. (Read `more about packages`_ in 
the
   official Python docs if you're a Python beginner.)
-  
+
 * :file:`manage.py`: A command-line utility that lets you interact with 
this
   Django project in various ways. You can read all the details about
   :file:`manage.py` in :ref:`ref-django-admin`.
-  
+
 * :file:`settings.py`: Settings/configuration for this Django project.
   :ref:`topics-settings` will tell you all about how settings work.
-
+
 * :file:`urls.py`: The URL declarations for this Django project; a "table 
of
   contents" of your Django-powered site. You can read more about URLs in
   :ref:`topics-http-urls`.
@@ -134,22 +134,22 @@
 .. admonition:: Changing the port
 
 By default, the :djadmin:`runserver` command starts the development server
-on the internal IP at port 8000. 
-
+on the internal IP at port 8000.
+
 If you want to change the server's port, pass
 it as a command-line argument. For instance, this command starts the server
 on port 8080:
-
+
 .. code-block:: bash
 
 python manage.py runserver 8080
-
+
 If you want to change the server's IP, pass it along with the port. So to
 listen on all public IPs (useful if you want to show off your work on other
 computers), use:
-
+
 .. code-block:: bash
-
+
 python manage.py runserver 0.0.0.0:8000
 
 Full docs for the development server can be found in the
@@ -164,21 +164,21 @@
 
 * :setting:`DATABASE_ENGINE` -- Either 'postgresql_psycopg2', 'mysql' or
   'sqlite3'. Other backends are :setting:`also available 
`.
-  
+
 * :setting:`DATABASE_NAME` -- The name of your database. If you're using
   SQLite, the database will be a file on your computer; in that case,
   ``DATABASE_NAME`` should be the full absolute path, including filename, 
of
   that file. If the file doesn't exist, it will automatically be created
   when you synchronize the database for the first time (see below).
-  
-  When specifying the path, always use forward slashes, even on Windows 
+
+  When specifying the path, always use forward slashes, even on Windows
   (e.g. ``C:/homes/user/mysite/sqlite3.db``).
-  
+
 * :setting:`DATABASE_USER` -- Your database username (not used for SQLite).
-
+
 * :setting:`DATABASE_PASSWORD` -- Your database password (not used for
   SQLite).
-
+
 * :setting:`DATABASE_HOST` -- 

[Changeset] r11043 - django/trunk

2009-06-18 Thread noreply

Author: russellm
Date: 2009-06-18 08:30:52 -0500 (Thu, 18 Jun 2009)
New Revision: 11043

Modified:
   django/trunk/AUTHORS
Log:
Fixed #10848 -- Added prairiedogg to AUTHORS.

Modified: django/trunk/AUTHORS
===
--- django/trunk/AUTHORS2009-06-18 12:42:57 UTC (rev 11042)
+++ django/trunk/AUTHORS2009-06-18 13:30:52 UTC (rev 11043)
@@ -226,6 +226,7 @@
 Ian G. Kelly 
 Ryan Kelly 
 Thomas Kerpe 
+Wiley Kestner 
 Ossama M. Khayat 
 Ben Khoo 
 Garth Kidd 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11323: Updating Korean translation

2009-06-18 Thread Django
#11323: Updating Korean translation
---+
  Reporter:  daybreaker| Owner:  daybreaker 
Status:  assigned  | Milestone:  1.1
 Component:  Translations  |   Version:  SVN
Resolution:|  Keywords:  i18n translation korean
 Stage:  Unreviewed| Has_patch:  0  
Needs_docs:  0 |   Needs_tests:  0  
Needs_better_patch:  0 |  
---+
Comment (by daybreaker):

 I've finished the first draft translation. A check is needed by other
 Korean translators if any.

 I could not find any transcription method for Slovakian geographical
 names, so just let it same. (I think very very few Korean people would
 notice that.) Others are from Wikipedia and local encyclopedia sources.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11339: Small typo in the FAQ

2009-06-18 Thread Django
#11339: Small typo in the FAQ
+---
  Reporter:  nattfodd   | Owner:  nobody
Status:  closed | Milestone:
 Component:  Documentation  |   Version:  SVN   
Resolution:  fixed  |  Keywords:
 Stage:  Unreviewed | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Comment (by kmtracey):

 Sorry, didn't notice the patch was not from the reporter so only thanked
 Kellen in commit msg.  Thanks also for the report nattfodd.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Changeset] r11042 - in django/branches/releases/1.0.X: . docs/faq

2009-06-18 Thread noreply

Author: kmtracey
Date: 2009-06-18 07:42:57 -0500 (Thu, 18 Jun 2009)
New Revision: 11042

Modified:
   django/branches/releases/1.0.X/
   django/branches/releases/1.0.X/docs/faq/install.txt
Log:
[1.0.X] Fixed #11339 -- Corrected typo in FAQ. Thanks Kellen. 

r11041 from trunk.



Property changes on: django/branches/releases/1.0.X
___
Name: svnmerge-integrated
   - 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028
   + 
/django/trunk:1-9097,9099-9102,9104-9109,9111,9113-9144,9146-9151,9153-9156,9158-9159,9161-9187,9189-9247,9249-9262,9264-9277,9279-9298,9301-9302,9305-9331,9333-9343,9345,9347,9350-9352,9355-9396,9399-9462,9466-9469,9471-9488,9491-9526,9529,9533-9536,9539-9550,9556-9557,9559-9560,9562-9568,9570-9591,9595-9619,9621-9624,9626-9636,9638-9642,9644-9645,9647-9689,9691-9699,9703-9706,9709-9713,9716-9723,9725-9726,9730-9738,9740-9741,9750-9751,9757-9758,9761-9762,9767-9768,9770-9780,9782-9784,9789-9790,9793-9798,9801-9802,9806-9807,9809-9813,9821-9837,9842-9843,9847-9859,9861,9863-9875,9877-9881,9883-9887,9899-9903,9906-9909,9912,9914,9916-9917,9919-9920,9922-9927,9929,9931-9937,9939,9942-9943,9945-9950,9953-9954,9956-9962,9966-9977,9979-9984,9986-9988,9990-10001,10003-10004,10007,10009-10010,10013-10017,10019-10020,10022-10025,10031,10036-10041,10049-10052,10054-10061,10066-10069,10071-10076,10078-10079,10085-10087,10104,10106,10125-10127,10136,10138-10140,10143,10145-10147,10149-10160,10163-10167,10170,10173,10175-10176,10180,10185,10189,10192-10196,10198-10221,10223-10228,10230-10234,10236-10247,10250-10257,10259-10270,10273-10274,10276-10280,10282-10314,10316,10319-10322,10324-10325,10328-10329,10333-10344,10348-10351,10353-10356,10358-10363,10365-10368,10371-10380,10386-10407,10411,10413-10427,10429-10437,10440-10442,10444-10445,10447-10450,10452-10453,10457-10464,10466-10467,10469-10480,10482-10485,10489-10492,10495-10497,10499-10505,10508-10509,10511-10514,10517-10520,10524-10525,10528,10530-10537,10539-10548,10550-10557,10561,10563-10564,10567-10571,10573-10574,10576-10578,10580-10589,10591-10592,10595-10596,10599-10601,10603-10620,10624-10626,10631,10639-10641,10643,10646,10652-10655,10659-10660,10666-10669,10675,10682-10690,10693,10697-10704,10707,10713-10714,10723,10725,10727,10729,10732,10743-10750,10752-10760,10768,10770,10772,10774,10777,10782,10787,10789,10791,10795,10797,10799,10801,10805,10808,10810,10812,10814,10816,10819,10822,10828,10831,10833,10835,10837,10841,10843,10845,10847,10849,10913-10914,10952,10970-10973,10983,11007,11009,11019,11021-11022,11025-11026,11028,11041

Modified: django/branches/releases/1.0.X/docs/faq/install.txt
===
--- django/branches/releases/1.0.X/docs/faq/install.txt 2009-06-18 12:41:16 UTC 
(rev 11041)
+++ django/branches/releases/1.0.X/docs/faq/install.txt 2009-06-18 12:42:57 UTC 
(rev 11042)
@@ 

Re: [Django] #7732: Oracle Backend with SessionPool

2009-06-18 Thread Django
#7732: Oracle Backend with SessionPool
---+
  Reporter:  halturin  | Owner:  mboersma   
  
Status:  assigned  | Milestone:  1.2
  
 Component:  Database layer (models, ORM)  |   Version:  SVN
  
Resolution:|  Keywords:  
yandex-sprint oracle session pool
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by erny):

 Bad news: I get `DatabaseError: ORA-03135: connection lost contact` with
 cx_Oracle 4.4.1 which does not drop/release/reconnect the connections.
 After the all connections are acquired, I get: `ORA-24418: Cannot open
 further sessions`. As it's author in the cx_Oracle mailing list suggest, a
 `pool.drop(connection)` is not enough, as it raises another exception. The
 complete pool may be replaced.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11339: Small typo in the FAQ

2009-06-18 Thread Django
#11339: Small typo in the FAQ
---+
 Reporter:  nattfodd   |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Documentation  | Version:
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 In http://docs.djangoproject.com/en/dev/faq/install/#what-are-
 django-s-prerequisites, there is a small typo. The link to
 http://docs.djangoproject.com/en/dev/howto/deployment/#howto-deployment-
 index should read "Deploying django" instead of "Deplying django".

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11338: mytest

2009-06-18 Thread Django
#11338: mytest
+---
  Reporter:  anonymous  | Owner:  nobody
Status:  closed | Milestone:  1.1   
 Component:  Uncategorized  |   Version:  1.0   
Resolution:  wontfix|  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by aeby):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => wontfix
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11338: mytest

2009-06-18 Thread Django
#11338: mytest
---+
 Reporter:  anonymous  |   Owner:  nobody
   Status:  new|   Milestone:  1.1   
Component:  Uncategorized  | Version:  1.0   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 我的测试文件

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10061: incorrect logout link in admin

2009-06-18 Thread Django
#10061: incorrect logout link in admin
---+
  Reporter:  lashni| Owner:  mtredinnick
Status:  new   | Milestone:  1.1
 Component:  django.contrib.admin  |   Version:  SVN
Resolution:|  Keywords: 
 Stage:  Accepted  | Has_patch:  1  
Needs_docs:  1 |   Needs_tests:  1  
Needs_better_patch:  1 |  
---+
Comment (by david):

 No, and that's why it's tagged with 1.1 milestone.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10061: incorrect logout link in admin

2009-06-18 Thread Django
#10061: incorrect logout link in admin
---+
  Reporter:  lashni| Owner:  mtredinnick
Status:  new   | Milestone:  1.1
 Component:  django.contrib.admin  |   Version:  SVN
Resolution:|  Keywords: 
 Stage:  Accepted  | Has_patch:  1  
Needs_docs:  1 |   Needs_tests:  1  
Needs_better_patch:  1 |  
---+
Comment (by anonymous):

 people, you don't want to release 1.1 with this embarassing bug, really!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #8704: Improve context processor documentation

2009-06-18 Thread Django
#8704: Improve context processor documentation
+---
  Reporter:  shacker| Owner:  kkubasik   
Status:  closed | Milestone: 
 Component:  Documentation  |   Version:  SVN
Resolution:  fixed  |  Keywords:  kkmegapatch
 Stage:  Accepted   | Has_patch:  1  
Needs_docs:  0  |   Needs_tests:  0  
Needs_better_patch:  1  |  
+---
Comment (by anonymous):

 Interesting, I was having this exact problem and the google search came up
 with this article, which solved the problem. The search was for: global
 name 'RequestContext' is not defined

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---