Fix requirements
This commit is contained in:
parent
c152d19185
commit
8c480012d4
5 changed files with 29 additions and 29 deletions
|
@ -7,26 +7,26 @@
|
|||
<header>
|
||||
<h2>{% render_model post "title" %}</h2>
|
||||
{% block blog_meta %}
|
||||
<ul class="post-detail">
|
||||
<li>
|
||||
{% trans "by" %} <a href="{% url 'djangocms_blog:author-posts' post.author.username %}">{{ post.author.get_full_name }}</a>
|
||||
</li>
|
||||
<li>
|
||||
{{ post.date_published|date:"M d, Y" }}
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="post-detail tags">
|
||||
{% if post.categories.exists %}
|
||||
{% for category in post.categories.all %}
|
||||
<li class="category_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:category-posts' category=category.slug %}" class="blog-categories-{{ category.count }}">{{ category.name }}</a>{% if not forloop.last %}, {% endif %}</li>
|
||||
{% endfor %}
|
||||
<ul class="post-detail">
|
||||
<li>
|
||||
{% trans "by" %} <a href="{% url 'djangocms_blog:author-posts' post.author.username %}">{{ post.author.get_full_name }}</a>
|
||||
</li>
|
||||
<li>
|
||||
{{ post.date_published|date:"M d, Y" }}
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="post-detail tags">
|
||||
{% if post.categories.exists %}
|
||||
{% for category in post.categories.all %}
|
||||
<li class="category_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:category-posts' category=category.slug %}" class="blog-categories-{{ category.count }}">{{ category.name }}</a>{% if not forloop.last %}, {% endif %}</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if post.tags.exists %}
|
||||
{% for tag in post.tags.all %}
|
||||
<li class="tag_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:tagged-posts' tag=tag.slug %}" class="blog-tag blog-tag-{{ tag.count }}">{{ tag.name }}</a>{% if not forloop.last %}, {% endif %}</li>
|
||||
{% endfor %}
|
||||
{% if post.tags.exists %}
|
||||
{% for tag in post.tags.all %}
|
||||
<li class="tag_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:tagged-posts' tag=tag.slug %}" class="blog-tag blog-tag-{{ tag.count }}">{{ tag.name }}</a>{% if not forloop.last %}, {% endif %}</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</header>
|
||||
{% if post.main_image_id %}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
django>=1.5.1
|
||||
https://github.com/divio/django-cms/archive/develop.zip
|
||||
coverage
|
||||
mock>=1.0.1
|
||||
nose>=1.3.0
|
||||
|
|
|
@ -1,10 +1 @@
|
|||
https://github.com/edoburu/django-parler/archive/master.zip
|
||||
django-taggit
|
||||
django-filer
|
||||
django-cms>=3.0
|
||||
django-select2
|
||||
pytz
|
||||
django-taggit-templatetags
|
||||
django-taggit-autosuggest
|
||||
django-admin-enhancer
|
||||
# Additional requirements go here
|
||||
-e .
|
9
setup.py
Normal file → Executable file
9
setup.py
Normal file → Executable file
|
@ -36,6 +36,13 @@ setup(
|
|||
],
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
'django-taggit',
|
||||
'django-filer',
|
||||
'django-select2',
|
||||
'pytz',
|
||||
'django-taggit-templatetags',
|
||||
'django-taggit-autosuggest',
|
||||
'django-admin-enhancer',
|
||||
],
|
||||
license="BSD",
|
||||
zip_safe=False,
|
||||
|
@ -52,4 +59,4 @@ setup(
|
|||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
],
|
||||
)
|
||||
)
|
||||
|
|
1
tox.ini
1
tox.ini
|
@ -6,4 +6,5 @@ setenv =
|
|||
PYTHONPATH = {toxinidir}:{toxinidir}/djangocms_blog
|
||||
commands = python setup.py test
|
||||
deps =
|
||||
-r{toxinidir}/requirements-dev.txt
|
||||
-r{toxinidir}/requirements.txt
|
Loading…
Reference in a new issue