Hallo,
sorry could someone help me fi installation of zinnia.

My pip freeze:

BeautifulSoup==3.2.1
Django==1.4.5
PIL==1.1.7
Pillow==2.5.2
South==1.0
argparse==1.2.1
beautifulsoup4==4.3.2
django-blog-zinnia==0.11.1
django-contrib-comments==1.5
django-mptt==0.5.5
django-tagging==0.3.2
django-xmlrpc==0.1.5
docutils==0.12
pyparsing==2.0.2
pytz==2014.4
wsgiref==0.1.2

My settings file:
============================================================================================
"""
Django settings for blogZ project.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

SITE_ID = 1

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'k26mbfv&*onj^v@zi!q96i9a5=*ae=@&(&vy7*@3x=nmb_+ws+'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

TEMPLATE_DEBUG = True

ALLOWED_HOSTS = []


# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.sites',
    #'django.contrib.markup'
    #'django_comments',
    'south',
    'mptt',
    'tagging',
    'zinnia',
)

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

if DEBUG:
    TEMPLATE_LOADERS = [
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',      
    ]
else:
    TEMPLATE_LOADERS = [
        ('django.template.loaders.cached.Loader',(
            'django.template.loaders.filesystem.Loader',
            'django.template.loaders.app_directories.Loader',
            'forum.modules.template_loader.module_templates_loader',
            'forum.skins.load_template_source',
            )),
    ]

TEMPLATE_CONTEXT_PROCESSORS = (
  'django.contrib.auth.context_processors.auth',
  'django.core.context_processors.i18n',
  'django.core.context_processors.request',
  #'zinnia.context_processors.version',  # Optional
)

ROOT_URLCONF = 'zinnia.urls'

WSGI_APPLICATION = 'blogZ.wsgi.application'


# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

# Internationalization
# https://docs.djangoproject.com/en/1.6/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/

STATIC_URL = '/static/'

============================================================================================

I use:

mkvirtualenv --no-site-packages

----------------------------------------------

I have followed  all the steps (syncdb, migrate and so on)

===================================================================================

on the web the errors is:

TemplateSyntaxError at /

'comments' is not a valid tag library: Template library comments not found, 
tried 
django.templatetags.comments,django.contrib.admin.templatetags.comments,django.contrib.staticfiles.templatetags.comments,mptt.templatetags.comments,tagging.templatetags.comments,zinnia.templatetags.comments

Request Method:GETRequest URL:http://localhost:8000/Django 
Version:1.4.5Exception 
Type:TemplateSyntaxErrorException Value:

'comments' is not a valid tag library: Template library comments not found, 
tried 
django.templatetags.comments,django.contrib.admin.templatetags.comments,django.contrib.staticfiles.templatetags.comments,mptt.templatetags.comments,tagging.templatetags.comments,zinnia.templatetags.comments

Exception 
Location:/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages/django/template/defaulttags.py
 
in load, line 1043Python Executable:
/home/antonio/.virtualenvs/npopblog/bin/pythonPython Version:2.7.3Python 
Path:

['/home/antonio/NPOP-BLOG/blogZ',
 
'/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages/pytz-2014.4-py2.7.egg',
 
'/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages/pyparsing-2.0.2-py2.7.egg',
 
'/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages/django_xmlrpc-0.1.5-py2.7.egg',
 '/home/antonio/.virtualenvs/npopblog/lib/python2.7',
 '/home/antonio/.virtualenvs/npopblog/lib/python2.7/plat-linux2',
 '/home/antonio/.virtualenvs/npopblog/lib/python2.7/lib-tk',
 '/home/antonio/.virtualenvs/npopblog/lib/python2.7/lib-old',
 '/home/antonio/.virtualenvs/npopblog/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages',
 '/home/antonio/.virtualenvs/npopblog/local/lib/python2.7/site-packages/PIL']

Server time:Mon, 18 Aug 2014 15:14:35 +0000


Thank's to avery body.
Antonio


-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/dbeb2db8-1158-4f8a-8e19-4b26bdaa1d7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to