Permalink
Browse files

escaping quotes

  • Loading branch information...
1 parent 0ac6b0d commit 898fdf1c1e1b5558864430005330d4196795c57b @montylounge montylounge committed Jan 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mingus/fixtures/test_data.json
@@ -8,7 +8,7 @@
{"pk": 2, "model": "blog.post", "fields": {"body": "<p>\r\nSometimes you just <em>need</em> some Mingus to get you movin' along.\r\n</p>\r\n\r\n<p>\r\nhttp://www.youtube.com/watch?v=__OSyznVDOY&feature=related\r\n</p>\r\n\r\n", "status": 2, "allow_comments": true, "author": null, "markup": "none", "tease": "A classic song from the \"The Angry Man of Jazz\", Charles Mingus.", "modified": "2009-09-03 22:23:47", "publish": "2009-09-03 22:19:19", "created": "2009-09-03 22:21:44", "body_markup": "<p>\r\nSometimes you just <em>need</em> some Mingus to get you movin' along.\r\n</p>\r\n\r\n<p>\r\nhttp://www.youtube.com/watch?v=__OSyznVDOY&feature=related\r\n</p>\r\n\r\n", "categories": [1], "title": "Charles Mingus -Moanin", "slug": "charles-mingus-moanin", "tags": "mingus, jazz"}},
-{"pk": 3, "model": "blog.post", "fields": {"body": "I'm a huge fan of this Erich Holscher [djangosnippet](http://ericholscher.com/blog/2008/nov/15/debugging-django-production-environments/) which is included in [django-sugar](http://github.com/montylounge/django-sugar/tree/master). This middleware allows you to easily debug your django app whether you're an admin user or your machine's IP is listed in settings.py INTERNAL_IPS tuple. Here is is in its entirety below.\r\n\r\n<pre class="prettyprint">\r\nfrom django.views.debug import technical_500_response\r\nimport sys\r\nfrom django.conf import settings\r\nclass UserBasedExceptionMiddleware(object):\r\n def process_exception(self, request, exception):\r\n if request.user.is_superuser or request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS:\r\n return technical_500_response(request, *sys.exc_info())\r\n</pre>", "status": 2, "allow_comments": true, "author": null, "markup": "markdown", "tease": "Ever wanted to view the verbose Django error page when you're live app is executing with DEBUG=False?", "modified": "2009-09-03 22:54:04", "publish": "2009-09-03 22:46:32", "created": "2009-09-03 22:51:08", "body_markup": "<p>I'm a huge fan of this Erich Holscher <a href=\"http://ericholscher.com/blog/2008/nov/15/debugging-django-production-environments/\">djangosnippet</a> which is included in <a href=\"http://github.com/montylounge/django-sugar/tree/master\">django-sugar</a>. This middleware allows you to easily debug your django app whether you're an admin user or your machine's IP is listed in settings.py INTERNAL_IPS tuple. Here is is in its entirety below.\n</p>\n<p><pre class=\"prettyprint\">\n from django.views.debug import technical_500_response\n import sys\n from django.conf import settings\n class UserBasedExceptionMiddleware(object):\n def process_exception(self, request, exception):\n if request.user.is_superuser or request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS:\n return technical_500_response(request, *sys.exc_info())\n </pre>\n</p>", "categories": [1], "title": "User Based Debug your Django App", "slug": "user-based-debug-your-django-app", "tags": "snippet, debug"}},
+{"pk": 3, "model": "blog.post", "fields": {"body": "I'm a huge fan of this Erich Holscher [djangosnippet](http://ericholscher.com/blog/2008/nov/15/debugging-django-production-environments/) which is included in [django-sugar](http://github.com/montylounge/django-sugar/tree/master). This middleware allows you to easily debug your django app whether you're an admin user or your machine's IP is listed in settings.py INTERNAL_IPS tuple. Here is is in its entirety below.\r\n\r\n<pre class=\"prettyprint\">\r\nfrom django.views.debug import technical_500_response\r\nimport sys\r\nfrom django.conf import settings\r\nclass UserBasedExceptionMiddleware(object):\r\n def process_exception(self, request, exception):\r\n if request.user.is_superuser or request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS:\r\n return technical_500_response(request, *sys.exc_info())\r\n</pre>", "status": 2, "allow_comments": true, "author": null, "markup": "markdown", "tease": "Ever wanted to view the verbose Django error page when you're live app is executing with DEBUG=False?", "modified": "2009-09-03 22:54:04", "publish": "2009-09-03 22:46:32", "created": "2009-09-03 22:51:08", "body_markup": "<p>I'm a huge fan of this Erich Holscher <a href=\"http://ericholscher.com/blog/2008/nov/15/debugging-django-production-environments/\">djangosnippet</a> which is included in <a href=\"http://github.com/montylounge/django-sugar/tree/master\">django-sugar</a>. This middleware allows you to easily debug your django app whether you're an admin user or your machine's IP is listed in settings.py INTERNAL_IPS tuple. Here is is in its entirety below.\n</p>\n<p><pre class=\"prettyprint\">\n from django.views.debug import technical_500_response\n import sys\n from django.conf import settings\n class UserBasedExceptionMiddleware(object):\n def process_exception(self, request, exception):\n if request.user.is_superuser or request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS:\n return technical_500_response(request, *sys.exc_info())\n </pre>\n</p>", "categories": [1], "title": "User Based Debug your Django App", "slug": "user-based-debug-your-django-app", "tags": "snippet, debug"}},
{"pk": 1, "model": "bookmarks.bookmark", "fields": {"extended": "", "description": "A must subscribe resource for all things Django.", "created": "2009-09-03 21:58:28", "url": "http://www.djangoproject.com/community/", "title": "Django Community", "modified": "2009-09-03 21:58:28", "slug": "django-community", "tags": "django, community"}},

0 comments on commit 898fdf1

Please sign in to comment.