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