Re: [Django] #9518: Wrong JSON snippet on fixture documentation

2009-04-02 Thread Django
#9518: Wrong JSON snippet on fixture documentation
-+--
  Reporter:  cla...@2xlibre.net  | Owner:  nobody
Status:  reopened| Milestone:  1.1   
 Component:  Documentation   |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Accepted| Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by ramiro):

  * has_patch:  0 => 1

-- 
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] #9518: Wrong JSON snippet on fixture documentation

2009-04-02 Thread Django
#9518: Wrong JSON snippet on fixture documentation
-+--
  Reporter:  cla...@2xlibre.net  | Owner:  nobody
Status:  reopened| Milestone:  1.1   
 Component:  Documentation   |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by jacob):

  * stage:  Unreviewed => Accepted
  * milestone:  => 1.1

-- 
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] #9518: Wrong JSON snippet on fixture documentation

2009-03-25 Thread Django
#9518: Wrong JSON snippet on fixture documentation
-+--
  Reporter:  cla...@2xlibre.net  | Owner:  nobody
Status:  reopened| Milestone:
 Component:  Documentation   |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by hheimbuerger):

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

Comment:

 Sorry, still incorrect. As shown in cla...@2xlibre.net's correction, the
 outer list may not have a comma at the end either.

 The last two lines have to be
 {{{
   }
 ]
 }}}
 not
 {{{
   },
 ]
 }}}

-- 
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] #9518: Wrong JSON snippet on fixture documentation

2008-11-04 Thread Django
#9518: Wrong JSON snippet on fixture documentation
-+--
  Reporter:  [EMAIL PROTECTED]  | Owner:  nobody
Status:  new | Milestone:
 Component:  Documentation   |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by [EMAIL PROTECTED]):

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

Comment:

 Moreover, you can quickly check the syntax on http://www.jslint.com/

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #9518: Wrong JSON snippet on fixture documentation

2008-11-04 Thread Django
#9518: Wrong JSON snippet on fixture documentation
+---
 Reporter:  [EMAIL PROTECTED]  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Documentation   | Version:  1.0   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 On http://docs.djangoproject.com/en/dev/howto/initial-data, the JSON
 fixture example is wrong. Unlike Python, JSON doesn't allow commas after
 last element of a list or a dict.

 The right example should be:
 {{{
 [
   {
 "model": "myapp.person",
 "pk": 1,
 "fields": {
   "first_name": "John",
   "last_name": "Lennon"
 }
   },
   {
 "model": "myapp.person",
 "pk": 2,
 "fields": {
   "first_name": "Paul",
   "last_name": "McCartney"
 }
   }
 ]

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---