Giter VIP home page Giter VIP logo

django-blog-zinnia's People

Contributors

acspike avatar alyoung avatar atabary avatar benjaoming avatar bianchimro avatar bittner avatar bmeyer71 avatar dellis23 avatar esplinr avatar fantomas42 avatar frewsxcv avatar hrym avatar igalarzab avatar indexofire avatar jhei avatar jtrain avatar kevgathuku avatar kylesomogyi avatar marky1991 avatar matthewwithanm avatar mcfletch avatar nagyv avatar nickdjones avatar noobidoo avatar noobiept avatar qinjiannet avatar shagi avatar smcoll avatar stegosauruss avatar zopieux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-blog-zinnia's Issues

Weird English strings

"Not yet comments" isn't good English, should be: "No comments yet". Similarly "Not yet entries." => "No entries yet", "Not yet comments !" => "No comments yet!", "Not yet categories." => "No categories yet.", "Not yet archives." => "No archives yet."

Note that there is no space before exclamation mark in English, so it should be "Be first to comment!"

SQL queries in loops

In serveral places you have sql queries executed in every loop iteration

for eg. in managers.py:

author_ids = [user.pk for user in User.objects.all()
                         if user.entry_set.filter(status=PUBLISHED).count()]
return User.objects.filter(pk__in=author_ids)

In this example User.objects.all() should be set before the loop as well as

user.entry_set.filter(status=PUBLISHED).count()
should be an aggregation.

Zinnia becomes unusable performace wise once you have even say 20-30 blog entries.

which version of django-mptt, the latest just wont work ..

File "/mnt/hgfs/Projects/.virenv/cats/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/mnt/hgfs/Projects/.virenv/cats/src/django-blog-zinnia/zinnia/models.py", line 204, in
mptt.register(Category, order_insertion_by=['title',])
AttributeError: 'module' object has no attribute 'register'

unsupported locale setting

Just added zinnia to my django-cms. When trying the /weblog/ url it fails with the below debug information. This is on Windows 7.

TemplateSyntaxError at /weblog/

Caught Error while rendering: unsupported locale setting

Request Method: GET
Request URL: http://127.0.0.1:8000/weblog/
Django Version: 1.2.1
Exception Type: TemplateSyntaxError
Exception Value:

Caught Error while rendering: unsupported locale setting

Exception Location: C:\dropbox\Dev\virtenvs\redmule\lib\locale.py in setlocale, line 513
Python Executable: C:\dropbox\Dev\virtenvs\redmule\Scripts\python.exe
Python Version: 2.6.4
Python Path: ['C:\dropbox\Dev\stable', 'C:\dropbox\Dev\stable\redmule', 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\distribute-0.6.10-py2.6.egg', 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\pip-0.6.3-py2.6.egg', 'c:\dropbox\dev\virtenvs\redmule\src\django-blog-zinnia', 'C:\Windows\system32\python26.zip', 'C:\dropbox\Dev\virtenvs\redmule\DLLs', 'C:\dropbox\Dev\virtenvs\redmule\lib', 'C:\dropbox\Dev\virtenvs\redmule\lib\plat-win', 'C:\dropbox\Dev\virtenvs\redmule\lib\lib-tk', 'C:\dropbox\Dev\virtenvs\redmule\Scripts', 'C:\Python26\Lib', 'C:\Python26\DLLs', 'C:\Python26\Lib\lib-tk', 'C:\dropbox\Dev\virtenvs\redmule', 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages', 'C:\Python26\lib\site-packages\pip-0.6.1-py2.6.egg', 'C:\Python26', 'C:\Python26\lib\site-packages', 'C:\Python26\lib\site-packages\PIL', 'C:\Python26\lib\site-packages', 'c:\dev', 'c:\dev\stable', 'c:\oss', 'c:\oss\django-cms-2.0', 'c:\oss\geraldo', 'C:\Python26\lib\site-packages\win32', 'C:\Python26\lib\site-packages\win32\lib', 'C:\Python26\lib\site-packages\Pythonwin', 'C:\Python26\lib\site-packages\wx-2.8-msw-ansi']
Server time: Sat, 3 Jul 2010 22:14:34 -0500
Template error

In template c:\dropbox\dev\virtenvs\redmule\src\django-blog-zinnia\zinnia\templates\zinnia\base.html, error at line 24
Caught Error while rendering: unsupported locale setting
14
15


16
17
18

19

{% trans "Categories" %}


20 {% get_categories %}
21

22

23

{% trans "Calendar" %}


24 {% get_calendar_entries %}
25

26

27

{% trans "Tags" %}


28 {% tag_cloud_for_model zinnia.entry as tag_cloud with steps=6 %}
29

    30 {% for tag in tag_cloud %}
    31

  • 32 <a href="{% url zinnia_tag_detail tag.name %}" title="{{ tag.count }} {% trans "entries" %}" class="tag_{{ tag.font_size }}">
    33 {{ tag }}
    34
    Traceback Switch back to interactive view

    * C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\core\handlers\base.py in get_response
        93. # Apply view middleware
        94. for middleware_method in self._view_middleware:
        95. response = middleware_method(request, callback, callback_args, callback_kwargs)
        96. if response:
        97. return response
        98.
        99. try:
       100. response = callback(request, *callback_args, **callback_kwargs) ...
       101. except Exception, e:
       102. # If the view raised an exception, run it through exception
       103. # middleware, and if the exception middleware returns a
       104. # response, use that. Otherwise, reraise the exception.
       105. for middleware_method in self._exception_middleware:
       106. response = middleware_method(request, e)
      ▶ Local vars
      Variable  Value
      callback  
      <function wrap at 0x02AD1B30>
      callback_args     
      ()
      callback_kwargs   
      {'paginate_by': 10, 'queryset': []}
      e     
      TemplateSyntaxError(u'Caught Error while rendering: unsupported locale setting',)
      exc_info  
      (<class 'django.template.TemplateSyntaxError'>, TemplateSyntaxError(u'Caught Error while rendering: unsupported locale setting',), <traceback object at 0x0329B9B8>)
      exceptions    
      <module 'django.core.exceptions' from 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\core\exceptions.pyc'>
      middleware_method     
      <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x027C9710>>
      receivers     
      [(<function _rollback_on_exception at 0x02118E70>, None)]
      request   
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=1423670a13dabcfae6851db0dc8509e8', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6', 'LOCALAPPDATA': 'C:\\Users\\michael\\AppData\\Local', 'LOGONSERVER': '\\\\MRHLAPTOP', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\dropbox\\Dev\\virtenvs\\redmule\\\\Scripts;C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py', 'PATH_INFO': u'/weblog/', 'PIP_REQUIRE_VIRTUALENV': 'true', 'PIP_RESPECT_VIRTUALENV': 'true', 'PIP_VIRTUALENV_BASE': 'c:\\dev\\virtenvs', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 22 Stepping 1, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '1601', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '(redmule) $P$G', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'mrhlaptop', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SESSIONNAME': 'Console', 'SVN_SSH': 'c:/pgms/putty/plink.exe -P 40022', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'USERDOMAIN': 'mrhlaptop', 'USERNAME': 'michael', 'USERPROFILE': 'C:\\Users\\michael', 'VIRTENV': 'c:\\dev\\virtenvs', 'VIRTUAL_ENV': 'C:\\dropbox\\Dev\\virtenvs\\redmule', 'WINDIR': 'C:\\Windows', 'WORKON_HOME': 'c:\\dev\\virtenvs', '_OLD_VIRTUAL_PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', '_OLD_VIRTUAL_PROMPT': '$P$G', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x013740C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x02AD5D70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      resolver  
      <RegexURLResolver redmule.urls (None:None) ^/>
      response  
      None
      self  
      <django.core.handlers.wsgi.WSGIHandler object at 0x02474330>
      settings  
      <django.conf.LazySettings object at 0x01E7DA30>
      urlconf   
      'redmule.urls'
      urlresolvers  
      <module 'django.core.urlresolvers' from 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\core\urlresolvers.pyc'>
    * c:\dropbox\dev\virtenvs\redmule\src\django-blog-zinnia\zinnia\views\decorators.py in wrap
         6. passed in parameter, who will force the update
         7. of the queryset before executing the view.
         8. Related to issue http://code.djangoproject.com/ticket/8378"""
         9.
        10. def wrap(*args, **kwargs):
        11. """Regenerate the queryset before passing it to the view."""
        12. kwargs[queryset_parameter] = queryset()
        13. return view(*args, **kwargs) ...
        14.
        15. return wrap
      ▶ Local vars
      Variable  Value
      args  
      (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=1423670a13dabcfae6851db0dc8509e8', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6', 'LOCALAPPDATA': 'C:\\Users\\michael\\AppData\\Local', 'LOGONSERVER': '\\\\MRHLAPTOP', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\dropbox\\Dev\\virtenvs\\redmule\\\\Scripts;C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py', 'PATH_INFO': u'/weblog/', 'PIP_REQUIRE_VIRTUALENV': 'true', 'PIP_RESPECT_VIRTUALENV': 'true', 'PIP_VIRTUALENV_BASE': 'c:\\dev\\virtenvs', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 22 Stepping 1, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '1601', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '(redmule) $P$G', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'mrhlaptop', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SESSIONNAME': 'Console', 'SVN_SSH': 'c:/pgms/putty/plink.exe -P 40022', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'USERDOMAIN': 'mrhlaptop', 'USERNAME': 'michael', 'USERPROFILE': 'C:\\Users\\michael', 'VIRTENV': 'c:\\dev\\virtenvs', 'VIRTUAL_ENV': 'C:\\dropbox\\Dev\\virtenvs\\redmule', 'WINDIR': 'C:\\Windows', 'WORKON_HOME': 'c:\\dev\\virtenvs', '_OLD_VIRTUAL_PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', '_OLD_VIRTUAL_PROMPT': '$P$G', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x013740C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x02AD5D70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,)
      kwargs    
      {'paginate_by': 10, 'queryset': []}
      queryset  
      <bound method EntryPublishedManager.all of <zinnia.managers.EntryPublishedManager object at 0x0274C130>>
      queryset_parameter    
      'queryset'
      view  
      <function object_list at 0x02AD1A70>
    * C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\views\generic\list_detail.py in object_list
        94. c[key] = value()
        95. else:
        96. c[key] = value
        97. if not template_name:
        98. model = queryset.model
        99. template_name = "%s/%s_list.html" % (model._meta.app_label, model._meta.object_name.lower())
       100. t = template_loader.get_template(template_name)
       101. return HttpResponse(t.render(c), mimetype=mimetype) ...
       102.
       103. def object_detail(request, queryset, object_id=None, slug=None,
       104. slug_field='slug', template_name=None, template_name_field=None,
       105. template_loader=loader, extra_context=None,
       106. context_processors=None, template_object_name='object',
       107. mimetype=None):
      ▶ Local vars
      Variable  Value
      allow_empty   
      True
      c     
      [{'has_next': False, 'page_range': [1], 'page_obj': <Page 1 of 1>, 'results_per_page': 10, 'is_paginated': False, 'pages': 1, 'previous': 0, 'paginator': <django.core.paginator.Paginator object at 0x0323B9D0>, 'hits': 0, 'object_list': [], 'next': 2, 'first_on_page': 0, 'has_previous': False, 'page': 1, 'last_on_page': 0}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x03268550>}, {'perms': <django.utils.functional.__proxy__ object at 0x03268FB0>, 'messages': <django.utils.functional.__proxy__ object at 0x03268830>, 'user': <django.utils.functional.SimpleLazyObject object at 0x03268E90>}, {'debug': True, 'sql_queries': [{'time': '0.008', 'sql': 'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = E\'1423670a13dabcfae6851db0dc8509e8\' AND "django_session"."expire_date" > E\'2010-07-03 22:14:33.506000\' )'}, {'time': '0.006', 'sql': 'SELECT "auth_user"."id", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."password", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."is_superuser", "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 '}, {'time': '0.010', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.004', 'sql': 'SELECT "wisdom_wisdom"."id", "wisdom_wisdom"."content", "wisdom_wisdom"."attribution", "wisdom_wisdom"."link", "wisdom_wisdom"."category", "wisdom_wisdom"."updated" FROM "wisdom_wisdom"'}, {'time': '0.004', 'sql': 'SELECT "advocacy_advocacy"."id", "advocacy_advocacy"."comment", "advocacy_advocacy"."href", "advocacy_advocacy"."link", "advocacy_advocacy"."graphic", "advocacy_advocacy"."updated" FROM "advocacy_advocacy"'}, {'time': '0.007', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.006', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.007', 'sql': '\n SELECT DISTINCT "tagging_tag".id, "tagging_tag".name\n FROM\n "tagging_tag"\n INNER JOIN "tagging_taggeditem"\n ON "tagging_tag".id = "tagging_taggeditem".tag_id\n INNER JOIN "zinnia_entry"\n ON "tagging_taggeditem".object_id = "zinnia_entry"."id"\n \n WHERE "tagging_taggeditem".content_type_id = 43\n \n GROUP BY "tagging_tag".id, "tagging_tag".name\n \n ORDER BY "tagging_tag".name ASC'}, {'time': '0.042', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 DESC'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 0'}, {'time': '0.005', 'sql': 'SELECT "zinnia_category"."id", "zinnia_category"."title", "zinnia_category"."slug", "zinnia_category"."description" FROM "zinnia_category" ORDER BY "zinnia_category"."title" ASC'}, {'time': '0.008', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 ASC'}, {'time': '0.029', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry_sites"."site_id" = 1 AND EXTRACT(\'month\' FROM "zinnia_entry"."creation_date") = 7 AND "zinnia_entry"."creation_date" BETWEEN E\'2010-01-01 00:00:00\' and E\'2010-12-31 23:59:59.999999\') ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.008', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}]}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=1423670a13dabcfae6851db0dc8509e8', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6', 'LOCALAPPDATA': 'C:\\Users\\michael\\AppData\\Local', 'LOGONSERVER': '\\\\MRHLAPTOP', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\dropbox\\Dev\\virtenvs\\redmule\\\\Scripts;C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py', 'PATH_INFO': u'/weblog/', 'PIP_REQUIRE_VIRTUALENV': 'true', 'PIP_RESPECT_VIRTUALENV': 'true', 'PIP_VIRTUALENV_BASE': 'c:\\dev\\virtenvs', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 22 Stepping 1, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '1601', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '(redmule) $P$G', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'mrhlaptop', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SESSIONNAME': 'Console', 'SVN_SSH': 'c:/pgms/putty/plink.exe -P 40022', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'USERDOMAIN': 'mrhlaptop', 'USERNAME': 'michael', 'USERPROFILE': 'C:\\Users\\michael', 'VIRTENV': 'c:\\dev\\virtenvs', 'VIRTUAL_ENV': 'C:\\dropbox\\Dev\\virtenvs\\redmule', 'WINDIR': 'C:\\Windows', 'WORKON_HOME': 'c:\\dev\\virtenvs', '_OLD_VIRTUAL_PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', '_OLD_VIRTUAL_PROMPT': '$P$G', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x013740C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x02AD5D70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'wisdom_attribution': '', 'wisdom_text': '', 'wisdom_link': ''}, {'advocacy_comment': '', 'advocacy_href': '', 'advocacy_link': '', 'advocacy_graphic': ''}, {'ZINNIA_MEDIA_URL': '/zinnia/'}, {u'tag_entry': [], 'ZINNIA_VERSION': '0.5'}, {'block': <Block Node: sidebar. Contents: [<Text Node: ' <div class="search"> <'>, <django.templatetags.i18n.TranslateNode object at 0x03263750>, <Text Node: '</h3> <form method="get'>, <django.template.defaulttags.URLNode object at 0x032636D0>, <Text Node: '"> <p> <input t'>, <django.templatetags.i18n.TranslateNode object at 0x03263ED0>, <Text Node: '" name="pattern" id="sear'>, <django.templatetags.i18n.TranslateNode object at 0x03263CD0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263D50>, <Text Node: ' </div> <div class="calen'>, <django.templatetags.i18n.TranslateNode object at 0x03263070>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x032634B0>, <Text Node: ' </div> <div class="tags"'>, <django.templatetags.i18n.TranslateNode object at 0x03263E70>, <Text Node: '</h3> '>, <tagging.templatetags.tagging_tags.TagCloudForModelNode object at 0x03263430>, <Text Node: ' <ul> '>, <For Node: for tag in tag_cloud, tail_len: 11>, <Text Node: ' </ul> </div> <div clas'>, <django.templatetags.i18n.TranslateNode object at 0x03263130>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x032630F0>, <Text Node: ' </div> <div class="rando'>, <django.templatetags.i18n.TranslateNode object at 0x02B84DF0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263050>, <Text Node: ' </div> <div class="popul'>, <django.templatetags.i18n.TranslateNode object at 0x02B841F0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263F90>, <Text Node: ' </div> <div class="archi'>, <django.templatetags.i18n.TranslateNode object at 0x02B84350>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263FD0>, <Text Node: ' </div> '>]>}]
      context_processors    
      None
      extra_context     
      {}
      mimetype  
      None
      model     
      <class 'zinnia.models.Entry'>
      page  
      1
      page_number   
      1
      page_obj  
      <Page 1 of 1>
      paginate_by   
      10
      paginator     
      <django.core.paginator.Paginator object at 0x0323B9D0>
      queryset  
      []
      request   
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=1423670a13dabcfae6851db0dc8509e8', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6', 'LOCALAPPDATA': 'C:\\Users\\michael\\AppData\\Local', 'LOGONSERVER': '\\\\MRHLAPTOP', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\dropbox\\Dev\\virtenvs\\redmule\\\\Scripts;C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py', 'PATH_INFO': u'/weblog/', 'PIP_REQUIRE_VIRTUALENV': 'true', 'PIP_RESPECT_VIRTUALENV': 'true', 'PIP_VIRTUALENV_BASE': 'c:\\dev\\virtenvs', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 22 Stepping 1, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '1601', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '(redmule) $P$G', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'mrhlaptop', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SESSIONNAME': 'Console', 'SVN_SSH': 'c:/pgms/putty/plink.exe -P 40022', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'USERDOMAIN': 'mrhlaptop', 'USERNAME': 'michael', 'USERPROFILE': 'C:\\Users\\michael', 'VIRTENV': 'c:\\dev\\virtenvs', 'VIRTUAL_ENV': 'C:\\dropbox\\Dev\\virtenvs\\redmule', 'WINDIR': 'C:\\Windows', 'WORKON_HOME': 'c:\\dev\\virtenvs', '_OLD_VIRTUAL_PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', '_OLD_VIRTUAL_PROMPT': '$P$G', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x013740C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x02AD5D70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      t     
      <django.template.Template object at 0x03268290>
      template_loader   
      <module 'django.template.loader' from 'C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\template\loader.pyc'>
      template_name     
      'zinnia/entry_list.html'
      template_object_name  
      'object'
    * C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\template\__init__.py in render
       166. def _render(self, context):
       167. return self.nodelist.render(context)
       168.
       169. def render(self, context):
       170. "Display stage -- can be called many times"
       171. context.render_context.push()
       172. try:
       173. return self._render(context) ...
       174. finally:
       175. context.render_context.pop()
       176.
       177. def compile_string(template_string, origin):
       178. "Compiles template_string into NodeList ready for rendering"
       179. if settings.TEMPLATE_DEBUG:
      ▶ Local vars
      Variable  Value
      context   
      [{'has_next': False, 'page_range': [1], 'page_obj': <Page 1 of 1>, 'results_per_page': 10, 'is_paginated': False, 'pages': 1, 'previous': 0, 'paginator': <django.core.paginator.Paginator object at 0x0323B9D0>, 'hits': 0, 'object_list': [], 'next': 2, 'first_on_page': 0, 'has_previous': False, 'page': 1, 'last_on_page': 0}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x03268550>}, {'perms': <django.utils.functional.__proxy__ object at 0x03268FB0>, 'messages': <django.utils.functional.__proxy__ object at 0x03268830>, 'user': <django.utils.functional.SimpleLazyObject object at 0x03268E90>}, {'debug': True, 'sql_queries': [{'time': '0.008', 'sql': 'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = E\'1423670a13dabcfae6851db0dc8509e8\' AND "django_session"."expire_date" > E\'2010-07-03 22:14:33.506000\' )'}, {'time': '0.006', 'sql': 'SELECT "auth_user"."id", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."password", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."is_superuser", "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 '}, {'time': '0.010', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.004', 'sql': 'SELECT "wisdom_wisdom"."id", "wisdom_wisdom"."content", "wisdom_wisdom"."attribution", "wisdom_wisdom"."link", "wisdom_wisdom"."category", "wisdom_wisdom"."updated" FROM "wisdom_wisdom"'}, {'time': '0.004', 'sql': 'SELECT "advocacy_advocacy"."id", "advocacy_advocacy"."comment", "advocacy_advocacy"."href", "advocacy_advocacy"."link", "advocacy_advocacy"."graphic", "advocacy_advocacy"."updated" FROM "advocacy_advocacy"'}, {'time': '0.007', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.006', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.007', 'sql': '\n SELECT DISTINCT "tagging_tag".id, "tagging_tag".name\n FROM\n "tagging_tag"\n INNER JOIN "tagging_taggeditem"\n ON "tagging_tag".id = "tagging_taggeditem".tag_id\n INNER JOIN "zinnia_entry"\n ON "tagging_taggeditem".object_id = "zinnia_entry"."id"\n \n WHERE "tagging_taggeditem".content_type_id = 43\n \n GROUP BY "tagging_tag".id, "tagging_tag".name\n \n ORDER BY "tagging_tag".name ASC'}, {'time': '0.042', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 DESC'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 0'}, {'time': '0.005', 'sql': 'SELECT "zinnia_category"."id", "zinnia_category"."title", "zinnia_category"."slug", "zinnia_category"."description" FROM "zinnia_category" ORDER BY "zinnia_category"."title" ASC'}, {'time': '0.008', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 ASC'}, {'time': '0.029', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry_sites"."site_id" = 1 AND EXTRACT(\'month\' FROM "zinnia_entry"."creation_date") = 7 AND "zinnia_entry"."creation_date" BETWEEN E\'2010-01-01 00:00:00\' and E\'2010-12-31 23:59:59.999999\') ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.008', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.007', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}]}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=1423670a13dabcfae6851db0dc8509e8', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6', 'LOCALAPPDATA': 'C:\\Users\\michael\\AppData\\Local', 'LOGONSERVER': '\\\\MRHLAPTOP', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\dropbox\\Dev\\virtenvs\\redmule\\\\Scripts;C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py', 'PATH_INFO': u'/weblog/', 'PIP_REQUIRE_VIRTUALENV': 'true', 'PIP_RESPECT_VIRTUALENV': 'true', 'PIP_VIRTUALENV_BASE': 'c:\\dev\\virtenvs', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 22 Stepping 1, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '1601', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '(redmule) $P$G', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'mrhlaptop', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SESSIONNAME': 'Console', 'SVN_SSH': 'c:/pgms/putty/plink.exe -P 40022', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\michael\\AppData\\Local\\Temp', 'USERDOMAIN': 'mrhlaptop', 'USERNAME': 'michael', 'USERPROFILE': 'C:\\Users\\michael', 'VIRTENV': 'c:\\dev\\virtenvs', 'VIRTUAL_ENV': 'C:\\dropbox\\Dev\\virtenvs\\redmule', 'WINDIR': 'C:\\Windows', 'WORKON_HOME': 'c:\\dev\\virtenvs', '_OLD_VIRTUAL_PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files\\jEdit;C:\\Program Files\\Mercurial\\;C:\\Program Files\\QuickTime\\QTSystem\\;.\\bin;c:\\bin;c:\\bin\\subversion\\bin;c:\\msysgit\\cmd;c:\\bin\\pstools;c:\\oss;c:\\python26;c:\\pgms\\vim\\vim72;c:\\pgms\\putty;C:\\pgms\\Mercurial;C:\\Python26\\Scripts;C:\\pgms\\OpenVPNTech\\bin;C:\\pgms\\Mercurial', '_OLD_VIRTUAL_PROMPT': '$P$G', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x013740C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x02AD5D70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'wisdom_attribution': '', 'wisdom_text': '', 'wisdom_link': ''}, {'advocacy_comment': '', 'advocacy_href': '', 'advocacy_link': '', 'advocacy_graphic': ''}, {'ZINNIA_MEDIA_URL': '/zinnia/'}, {u'tag_entry': [], 'ZINNIA_VERSION': '0.5'}, {'block': <Block Node: sidebar. Contents: [<Text Node: ' <div class="search"> <'>, <django.templatetags.i18n.TranslateNode object at 0x03263750>, <Text Node: '</h3> <form method="get'>, <django.template.defaulttags.URLNode object at 0x032636D0>, <Text Node: '"> <p> <input t'>, <django.templatetags.i18n.TranslateNode object at 0x03263ED0>, <Text Node: '" name="pattern" id="sear'>, <django.templatetags.i18n.TranslateNode object at 0x03263CD0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263D50>, <Text Node: ' </div> <div class="calen'>, <django.templatetags.i18n.TranslateNode object at 0x03263070>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x032634B0>, <Text Node: ' </div> <div class="tags"'>, <django.templatetags.i18n.TranslateNode object at 0x03263E70>, <Text Node: '</h3> '>, <tagging.templatetags.tagging_tags.TagCloudForModelNode object at 0x03263430>, <Text Node: ' <ul> '>, <For Node: for tag in tag_cloud, tail_len: 11>, <Text Node: ' </ul> </div> <div clas'>, <django.templatetags.i18n.TranslateNode object at 0x03263130>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x032630F0>, <Text Node: ' </div> <div class="rando'>, <django.templatetags.i18n.TranslateNode object at 0x02B84DF0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263050>, <Text Node: ' </div> <div class="popul'>, <django.templatetags.i18n.TranslateNode object at 0x02B841F0>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263F90>, <Text Node: ' </div> <div class="archi'>, <django.templatetags.i18n.TranslateNode object at 0x02B84350>, <Text Node: '</h3> '>, <django.template.InclusionNode object at 0x03263FD0>, <Text Node: ' </div> '>]>}]
      self  
      <django.template.Template object at 0x03268290>
    * C:\dropbox\Dev\virtenvs\redmule\lib\site-packages\django\template\__init__.py in _render
       160.
       161. def __iter__(self):
       162. for node in self.nodelist:
       163. for subnode in node:
       164. yield subnode
       165.
       166. def _render(self, context):
       167. return self.nodelist.render(context) ...
       168.
       169. def render(self, context):
       170. "Display stage -- can be called many times"
       171. context.render_context.push()
       172. try:
       173. return self._render(context)
      ▶ Local vars
      Variable  Value
      context   
      [{'has_next': False, 'page_range': [1], 'page_obj': <Page 1 of 1>, 'results_per_page': 10, 'is_paginated': False, 'pages': 1, 'previous': 0, 'paginator': <django.core.paginator.Paginator object at 0x0323B9D0>, 'hits': 0, 'object_list': [], 'next': 2, 'first_on_page': 0, 'has_previous': False, 'page': 1, 'last_on_page': 0}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x03268550>}, {'perms': <django.utils.functional.__proxy__ object at 0x03268FB0>, 'messages': <django.utils.functional.__proxy__ object at 0x03268830>, 'user': <django.utils.functional.SimpleLazyObject object at 0x03268E90>}, {'debug': True, 'sql_queries': [{'time': '0.008', 'sql': 'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = E\'1423670a13dabcfae6851db0dc8509e8\' AND "django_session"."expire_date" > E\'2010-07-03 22:14:33.506000\' )'}, {'time': '0.006', 'sql': 'SELECT "auth_user"."id", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."password", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."is_superuser", "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 '}, {'time': '0.010', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.004', 'sql': 'SELECT "wisdom_wisdom"."id", "wisdom_wisdom"."content", "wisdom_wisdom"."attribution", "wisdom_wisdom"."link", "wisdom_wisdom"."category", "wisdom_wisdom"."updated" FROM "wisdom_wisdom"'}, {'time': '0.004', 'sql': 'SELECT "advocacy_advocacy"."id", "advocacy_advocacy"."comment", "advocacy_advocacy"."href", "advocacy_advocacy"."link", "advocacy_advocacy"."graphic", "advocacy_advocacy"."updated" FROM "advocacy_advocacy"'}, {'time': '0.007', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.006', 'sql': 'SELECT COUNT(*) FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.879000\' AND "zinnia_entry_sites"."site_id" = 1 )'}, {'time': '0.007', 'sql': '\n SELECT DISTINCT "tagging_tag".id, "tagging_tag".name\n FROM\n "tagging_tag"\n INNER JOIN "tagging_taggeditem"\n ON "tagging_tag".id = "tagging_taggeditem".tag_id\n INNER JOIN "zinnia_entry"\n ON "tagging_taggeditem".object_id = "zinnia_entry"."id"\n \n WHERE "tagging_taggeditem".content_type_id = 43\n \n GROUP BY "tagging_tag".id, "tagging_tag".name\n \n ORDER BY "tagging_tag".name ASC'}, {'time': '0.042', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.988000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 DESC'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 0'}, {'time': '0.005', 'sql': 'SELECT "zinnia_category"."id", "zinnia_category"."title", "zinnia_category"."slug", "zinnia_category"."description" FROM "zinnia_category" ORDER BY "zinnia_category"."title" ASC'}, {'time': '0.008', 'sql': 'SELECT DISTINCT DATE_TRUNC(\'month\', "zinnia_entry"."creation_date") FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.104000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY 1 ASC'}, {'time': '0.029', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:34.117000\' AND "zinnia_entry_sites"."site_id" = 1 AND EXTRACT(\'month\' FROM "zinnia_entry"."creation_date") = 7 AND "zinnia_entry"."creation_date" BETWEEN E\'2010-01-01 00:00:00\' and E\'2010-12-31 23:59:59.999999\') ORDER BY "zinnia_entry"."creation_date" DESC'}, {'time': '0.008', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.006', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:01.481000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.005', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}, {'time': '0.007', 'sql': 'SELECT "zinnia_entry"."id", "zinnia_entry"."title", "zinnia_entry"."image", "zinnia_entry"."content", "zinnia_entry"."excerpt", "zinnia_entry"."tags", "zinnia_entry"."slug", "zinnia_entry"."status", "zinnia_entry"."comment_enabled", "zinnia_entry"."creation_date", "zinnia_entry"."last_update", "zinnia_entry"."start_publication", "zinnia_entry"."end_publication" FROM "zinnia_entry" INNER JOIN "zinnia_entry_sites" ON ("zinnia_entry"."id" = "zinnia_entry_sites"."entry_id") WHERE ("zinnia_entry"."status" = 2 AND "zinnia_entry"."end_publication" > E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry"."start_publication" <= E\'2010-07-03 22:14:33.816000\' AND "zinnia_entry_sites"."site_id" = 1 ) ORDER BY "zinnia_entry"."creation_date" DESC LIMIT 21'}]}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '64a6273c0290fbcade485902f62562b8', 'sessionid': '1423670a13dabcfae6851db0dc8509e8'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\michael\\AppData\\Roaming', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'MRHLAPTOP', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'redmule.settings', 'EDITOR': 'gvim', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\michael', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=64a6273c0290fbcade485902f62562b8; sessionid=142
    

enabling ZINNIA_PING_DIRECTORIES and feeds

'm getting bit by the "template bug", but it's not in a template, it's in ping.py.

NoReverseMatch: Reverse for 'zinnia_feeds' with arguments '('latest',)' and keyword arguments '{}' not found.

Ah found it. I enabled ZINNIA_PING_DIRECTORIES and here's the relevant code in ping.py:

original:

if not blog_url or not blog_feed:
    blog_url = '%s%s' % (site, reverse('zinnia_entry_archive_index'))
    blog_feed = '%s%s' % (site, reverse('zinnia_feeds', args=['latest', ]))

patch:

 if not blog_url or not blog_feed:
      blog_url = '%s%s' % (site, reverse('zinnia_entry_archive_index'))
  •    blog_feed = '%s%s' % (site, reverse('zinnia_feeds', args=['latest', ]))
    
    •    blog_feed = '%s%s' % (site, reverse('zinnia_entry_latest_feed'))
      

(not a real patch, i'll generate a real one in a sec.

text filters

Hello, maybe in the next release there should be support for markdown, textile, bbcode, etc. Zinnia is looking great!

I'm new to python so I can't go hacking around :( (yet) , good luck!

Url zinnia_category_detail_paginated is broken

One of the default url's:

url(r'^(?P<path>[-\/\w]+)/page/(?P<page>\d+)/$',
    'category_detail',
    name='zinnia_category_detail_paginated'),
)

This one doesn't work. When I go to /articles/categories/django/page/2/, it says the path is "django/page/2".

Which/How to install Akismet

Thanks for writing this, I hope to get it installed soon.

In the documentation, you day that Akismet needs to be installed. There are at least two python libraries.

David Lynch's Python library
Voidspace Python module

Which one should I install? Could you update the docs?

Thanks,

Chris.

django_xmlrpc not required to use blog, but required to run tests

I tried running all tests after installing zinna, and I got this error:

ImportError: No module named django_xmlrpc.decorators

Mind you it doesn't just fail, it prevents me from running my other tests. Is there a way you could make it not run those tests if I don't have xmlrpc in my installed apps, perhaps?

allow_future and allow_empty

After having a conversation with Shawn it seems to have a problem in the archive_day and archive_view views with the nex_month and next_day variables.

missing _ import

In django_blog_zinnia-0.6-py2.6.egg/zinnia/views/search.py there is a missing import for the lazy translation

so lines 16 and 20 cause a fatal error if searching the blog for a string like "_" or pattern that is not valid or too short.

Adding this import solves the problem:
from django.utils.translation import ugettext_lazy as _

Regards,
Rok

Entry detail URL not resolving

After adding a new entry in admin, I get an exception:

TemplateSyntaxError at /admin/zinnia/entry/
Caught an exception while rendering: Reverse for 'zinnia_entry_detail' with arguments '()' and keyword arguments '{'year': '2010', 'slug': u'test-entry', 'day': '11', 'month': '05'}' not found.

My base urls.py for zinnia patterns is:

urlpatterns += patterns('',
url(r'^comments/', include('django.contrib.comments.urls')),
url(r'^feeds/', include('zinnia.urls.feeds')),
url(r'^authors/', include('zinnia.urls.authors')),
url(r'^categories/', include('zinnia.urls.categories')),
url(r'^search/', include('zinnia.urls.search')),
(r'^$', include('zinnia.urls')),
)

Thoughts?

XSS in comments

simplest solution remove tag "safe" in entry_detail.html.
comment.comment|safe -> comment.comment

Making blog home url

I see when you make a request to the Zinnia app it redirects to blog to serve the urls.

Is there anyway to bypass this and have Zinnia live on my default URL structure of slash / ?

Caught NoReverseMatch while rendering: Reverse for 'zinnia_feeds' with arguments '(u'search',)' and keyword arguments '{}' not found.

this particular issue happens when i go to /blog/search, but it happens in other places.

it traces back to:
Caught NoReverseMatch while rendering: Reverse for 'zinnia_feeds' with arguments '(u'search',)' and keyword arguments '{}' not found.
1 {% extends "zinnia/entry_archive_base.html" %}
2 {% load i18n %}
3
4 {% block title %}{% trans "Search results" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %}
5
6 {% block link %}
7 <link rel="alternate" type="application/rss+xml" title="{% trans "RSS Feed of search result of" %} '{{ pattern }}'" href="{% url zinnia_feeds "search" %}{{ pattern }}/" />
8 {% endblock %}

i've search through all the urls files and do not see a urlpattern named 'zinnia_feeds' anywhere

Excerpt not being used

I noticed that the excerpt was not being used when the list of articles was displayed. It was just truncating the html_content to 100 words.
In models.py I added the following:

@property
def html_excerpt(self):
    """Return the content correctly formatted"""
    if not '</p>' in self.excerpt:
        return linebreaks(self.excerpt)
    return self.excerpt

In entry_archive_base.html I changed the entry portion to look like:

{% if object.excerpt %}
{% with object.html_excerpt|truncatewords_html:"100"|safe as object_content %}
{% include "zinnia/_entry_detail.html" %}
{% endwith %}
{% else %}
{% with object.html_content|truncatewords_html:"100"|safe as object_content %}
{% include "zinnia/_entry_detail.html" %}
{% endwith %}
{% endif %}

You might be able to do it more elegantly, but this got it to work for me.

Add comment.is_author key

A comment.is_author key returning a boolean value can help in distinguishing entry comments. This can be util for css class switch between author of the entry comments and others.

FieldError: Cannot resolve keyword 'entry' into field.

The blog is running all good but when I change debug to False I'm getting this error when I try to view all posts(on admin).

File "/home/kleverson/webapps/bcec/lib/python2.6/django/db/models/sql/query.py", line 1026, in add_filter
negate=negate, process_extras=process_extras)

File "/home/kleverson/webapps/bcec/lib/python2.6/django/db/models/sql/query.py", line 1191, in setup_joins
"Choices are: %s" % (name, ", ".join(names)))

FieldError: Cannot resolve keyword 'entry' into field. Choices are: comment, domain, id, name

Any ideas? I'm lost on this one.

Django-cms AND django-blog-zinnia plugin

I have to tried many time to install the blog plug in to django-cms but all the time unsuccessful.(i am using django 1.2.3 and python 2.7)
This is my setting.py
https://github.com/pykhmer/pykhmerWEB/blob/master/settings.py
or whole here ([email protected]:pykhmer/pykhmerWEB.git)
But when I run:
python manage.py syncdb ==>Okay [no error message]
python manage.py server ==>Okay [no error message]
python manage.py migrate --fake ==>Okay [no error message]
And I have tried comment south or uncomment south.
But when go to django-cms admin
and add the category
or add entry

I got the error messge

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/zinnia/category/
Django Version: 1.2.3
Exception Type: DatabaseError
Exception Value:

no such table: zinnia_category

Exception Location: F:\Python27\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 200
Python Executable: F:\Python27\python.exe
Python Version: 2.7.0
.....................

What is the problems here?How can I fixed it?

Thanks.

Publication and publication date

It seems to have a little difference with the publication datetime and the current time.
So the most recents entries are not published immediatly.
I need to investigate on the manager.

In the templatetags it does not seems to happen...

.svn in repository

There is a .svn directory on django-blog-zinnia/zinnia/media/zinnia/js/wymeditor/skins/django

Syndication mimetype

The ZINNIA_FEED_TYPE setting should be used to toggle the particulars of the link in skeleton.html to change the mimetype and text between RSS and Atom.

(The syndication feed docs don't address this, so I guess there isn't a template tag to take care of it.)

"indirect" bug in comparison.py

I had to replace str() for unicode() at line 41, because wymeditor / sqlite3 keeps subbing numeric entities for the actual accent, etc.

SEO settings

Suggestion:

I would like to suggest an SEO settings section like what Django-CMS has for it's pages. This way you could override what the defaults are if you don't agree with them.

Bjorn

Unicode problem with names in comments

I believe this is a bug:

With this variables in settings.py checked:

USE_I18N = True
TEST_DATABASE_CHARSET = "utf8"

If a new comment is made with a unicode name (for example) "Álvaro" it won't work, yielding this error:

Environment:

Request Method: POST
Request URL: http://blog.castrocastilla.com/comments/post/
Django Version: 1.2.1
Python Version: 2.6.0
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.comments',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.sitemaps',
'tagging',
'zinnia']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')

Traceback:
File "/home4/castroca/.local/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response

  1.                 response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/home4/castroca/.local/lib/python2.6/site-packages/django/utils/decorators.py" in _wrapped_view
  2.                 response = view_func(request, _args, *\_kwargs)
    
    File "/home4/castroca/.local/lib/python2.6/site-packages/django/views/decorators/http.py" in inner
  3.         return func(request, _args, *\_kwargs)
    
    File "/home4/castroca/.local/lib/python2.6/site-packages/django/contrib/comments/views/comments.py" in post_comment
  4.     request = request
    
    File "/home4/castroca/.local/lib/python2.6/site-packages/django/dispatch/dispatcher.py" in send
  5.         response = receiver(signal=self, sender=sender, **named)
    
    File "/home4/castroca/.local/lib/python2.6/site-packages/django/contrib/comments/moderation.py" in pre_save_moderation
  6.     if moderation_class.moderate(comment, content_object, request):
    
    File "/home4/castroca/public_html/blog/blog/akismet.py" in comment_check
  7.     resp = self._safeRequest(url, urlencode(data), headers)
    
    File "/usr/lib/python2.6/urllib.py" in urlencode
  8.         v = quote_plus(str(v))
    

Exception Type: UnicodeEncodeError at /comments/post/
Exception Value: ('ascii', u'\xc1lvaro', 0, 1, 'ordinal not in range(128)')

////////////////////////////////////

Note that this won't happen if the comment is previewed, or if using the same characters in the Comment field.

protect_entry doesn't act when listing entries

The protect entry decorator works fine when you try to view a protected entry, it return the password form.
When viewing entries listing by archives, date, category, etc... the truncated content of the entry is displayed on instead of a message saying it's password protected...

AttributeError: type object 'Category' has no attribute 'MPTTMeta'

Hi

I am retrieving the following stack trace after following the install instructions:

Traceback (most recent call last):
File "/virtualenvs/cmsscope/bin/django-admin.py", line 5, in
management.execute_from_command_line()
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/init.py", line 429, in execute_from_command_line
utility.execute()
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(_args, *_options)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/core/management/commands/shell.py", line 18, in handle_noargs
loaded_models = get_models()
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/db/models/loading.py", line 167, in get_models
self._populate()
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/virtualenvs/cmsscope/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/virtualenvs/cmsscope/src/django-blog-zinnia/zinnia/models.py", line 253, in
for attr in dir(Category.MPTTMeta)
AttributeError: type object 'Category' has no attribute 'MPTTMeta'

Direct access to blog posts that don't belong to the site

Hi Fantomas42,

Let's say that you have two sites : example1.com and example2.com.
Posts belonging to example2.com (eg. "post_blabla") won't be listed on example1.com but you can still see them if you type the full url of the post (eg. example1.com/blog/2010/09/01/post_blabla).
Thanks for your time.

Shao197

xmlrpclib errors

I've posted this question with WebFaction as well, but thought I would ask here as well just in case.
I started getting the following error on November 11th.

Any thoughts?

[Thu Nov 11 09:59:21 2010] [error] Exception in thread Thread-14:

[Thu Nov 11 09:59:21 2010] [error] Traceback (most recent call last):

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/threading.py", line 532, in __bootstrap_inner

[Thu Nov 11 09:59:21 2010] [error] self.run()

[Thu Nov 11 09:59:21 2010] [error] File "/home/username/webapps/pws2/ve/pws/professionalwebstudio/apps/zinnia/ping.py", line 45, in run

[Thu Nov 11 09:59:21 2010] [error] reply = self.ping_entry(entry)

[Thu Nov 11 09:59:21 2010] [error] File "/home/username/webapps/pws2/ve/pws/professionalwebstudio/apps/zinnia/ping.py", line 61, in ping_entry

[Thu Nov 11 09:59:21 2010] [error] categories)

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/xmlrpclib.py", line 1199, in call

[Thu Nov 11 09:59:21 2010] [error] return self.__send(self.__name, args)

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/xmlrpclib.py", line 1489, in __request

[Thu Nov 11 09:59:21 2010] [error] verbose=self.__verbose

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/xmlrpclib.py", line 1253, in request

[Thu Nov 11 09:59:21 2010] [error] return self._parse_response(h.getfile(), sock)

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response

[Thu Nov 11 09:59:21 2010] [error] return u.close()

[Thu Nov 11 09:59:21 2010] [error] File "/usr/local/lib/python2.6/xmlrpclib.py", line 836, in close

[Thu Nov 11 09:59:21 2010] [error] raise ResponseError()

[Thu Nov 11 09:59:21 2010] [error] ResponseError: ResponseError()

Bjorn

manage.py syncdb & South

There seems to be a problem where the table entries are not created if South is in INSTALLED_APPS. If you comment south out and run syncdb to create the initial tables, then put south back in and run manage.py migrate, things seem to work fine.

btw, is TINY_MCE support going to be brought into the main version of zinnia instead of being forked?

Thanks
Bjorn

Django CMS Menu not refreshed

If you eg add an entry with a new author the menu for django-cms is not refreshed, since it is cached... You could invalidate the menu cache calling menu_pool.clear() on a signal (same does the cms with the pages).

from django.db.models import signals
def post_save_entry(instance, raw, created, **kwargs):
    try:    # if cms is installed
        from menus.menu_pool import menu_pool
        menu_pool.clear()
    except:
        pass
signals.post_save.connect(post_save_entry, sender=Entry,
                                        dispatch_uid="zinnia.entry.postsave")    

Thanks a lot btw for your very useful components!

python manage.py wp2zinnia got error message BUT CAN python manage.py zinnia2wp > export.xml

python manage.py wp2zinnia wordpress.2010-12-05.xml

Starting migration from Wordpress to Zinnia 0.7:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "F:\Python27\lib\site-packages\django\core\management__init__.py", line 438, in
execute_manager
utility.execute()
File "F:\Python27\lib\site-packages\django\core\management__init__.py", line 379, in
execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "F:\Python27\lib\site-packages\django\core\management\base.py", line 191, in run
_from_argv
self.execute(_args, *_options.dict)
File "F:\Python27\lib\site-packages\django\core\management\base.py", line 220, in exe
cute
output = self.handle(_args, *_options)
File "F:\Python27\lib\site-packages\django\core\management\base.py", line 322, in han
dle
label_output = self.handle_label(label, **options)
File "F:\Python27\lib\site-packages\django_blog_zinnia-0.7-py2.7.egg\zinnia\managemen
t\commands\wp2zinnia.py", line 75, in handle_label
tree = ET.parse(wxr_file)
File "F:\Python27\lib\xml\etree\ElementTree.py", line 1176, in parse
tree.parse(source, parser)
File "F:\Python27\lib\xml\etree\ElementTree.py", line 653, in parse
parser.feed(data)
File "F:\Python27\lib\xml\etree\ElementTree.py", line 1623, in feed
self._raiseerror(v)
File "F:\Python27\lib\xml\etree\ElementTree.py", line 1487, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: unbound prefix: line 62, column 1

How Can I Fix?

Thanks

Paginating not consistent

I set paginating to 2 (for easy testing) and found a problem.

If I go to /articles/, paginating is indeed set to 2.
If I go to /articles/2010/, paginating is not used at all.

I found that this is actually not provided by Django itself, and I've created a ticket (http://code.djangoproject.com/ticket/14631). It would be great though if Zinnia could work around this somehow?

When Added entry I got NoReverseMatch at /admin/zinnia/entry/add/

(Djano-cms+django-blog-zinnia)

After I added category
I go to added entry >>>> click button SAVE

I got the message error.

NoReverseMatch at /admin/zinnia/entry/add/

Reverse for 'zinnia_entry_detail' with arguments '()' and keyword arguments '{'year': '2010', 'slug': u'lesson1', 'day': '14', 'month': '12'}' not found.

Request Method: POST
Request URL: http://127.0.0.1:8000/admin/zinnia/entry/add/
Django Version: 1.2.3
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'zinnia_entry_detail' with arguments '()' and keyword arguments '{'year': '2010', 'slug': u'lesson1', 'day': '14', 'month': '12'}' not found.

Exception Location: F:\Python27\lib\site-packages\django_cms-2.1.0.beta3-py2.7.egg\cms\models__init__.py in new_reverse, line 63
Python Executable: F:\Python27\python.exe
Python Version: 2.7.0

Please Help me to solve this problem !
thanks

templates/admin folder not copied through installation with setup.py

The copying of the static files from templates/admin fails with the current setup.py on Mac OS X (don't know if it fails on other systems). To test it you can call the following commands:

virtualenv myenv
source myenv/bin/activate
pip install git+http://github.com/Fantomas42/django-blog-zinnia.git#egg=django-blog-zinnia
ls myenv/lib/python2.6/site-packages/zinnia/templates/admin
// No such file or directory

Maybe you already know why there is this problem. Could be related to an already copied "admin.py".

Restrict site access

Is there a way to restrict access to what sites a user has access to post to?
I am comparing this to the way that Django CMS is able to set up groups and restrict access to specific sites and features.
I know you can select the site when creating/editing the post, but I am wanting to restrict what sites a user actually sees in this list.
Is this possible? If not, maybe it could be put on the list for improvements.

Bjorn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.