Skip to content

Commit

Permalink
Prepare 0.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Apr 8, 2020
1 parent 1077c93 commit 2cad432
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 57 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.16.4
------
2020-04-08

- Replace `admin_static` templatetag module with `static`, since the latter is
available in Django 1.11, which is now the minimal supported version.

0.16.3
------
2020-04-04
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.16.4
------
2020-04-08

- Replace `admin_static` templatetag module with `static`, since the latter is
available in Django 1.11, which is now the minimal supported version.

0.16.3
------
2020-04-04
Expand Down
2 changes: 1 addition & 1 deletion scripts/migrate.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
cd examples/simple/
./manage.py migrate "$@"
./manage.py migrate "$@"
2 changes: 1 addition & 1 deletion scripts/runserver.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
cd examples/simple/
./manage.py runserver 0.0.0.0:8000 --traceback -v 3
./manage.py runserver 0.0.0.0:8000 --traceback -v 3 "$@"
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import os
import sys

from distutils.version import LooseVersion
from setuptools import setup, find_packages

version = '0.16.3'
version = '0.16.4'

# ***************************************************************************
# ************************** Django version *********************************
Expand Down
2 changes: 1 addition & 1 deletion src/fobi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'django-fobi'
__version__ = '0.16.3'
__version__ = '0.16.4'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2014-2020 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends fobi_theme.base_edit_template %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block page-title %}{% trans "Dashboard" %}{% endblock page-title %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "fobi/generic/edit_form_entry.html" %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "fobi/generic/import_form_entry.html" %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load static future_compat %}
{% else %}
{% load admin_static future_compat %}
{% endif %}<!DOCTYPE html>
{% load static future_compat %}<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}{% block html-attributes %}{% endblock html-attributes %}>
<head>
<title>{% block page-title %}{% endblock page-title %} | {% block site-title %}{% endblock site-title %}</title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{% extends fobi_theme.base_edit_template %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block page-title %}{% trans "Dashboard" %}{% endblock page-title %}

Expand Down Expand Up @@ -111,7 +106,7 @@ <h1>{% trans "Your forms" %}</h1>
</div>

</div><!-- /#changelist -->

</div><!-- /#content-main -->
{% endblock content-wrapper %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "fobi/generic/edit_form_entry.html" %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "fobi/generic/edit_form_wizard_entry.html" %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends fobi_theme.base_edit_template %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block page-title %}{% trans "Form wizards dashboard" %}{% endblock page-title %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "fobi/generic/import_form_entry.html" %}

{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n static %}
{% else %}
{% load i18n admin_static %}
{% endif %}
{% load i18n static %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
Expand Down
6 changes: 1 addition & 5 deletions src/fobi/templates/fobi/admin/bulk_change_plugins.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{% extends "admin/base_site.html" %}
{% if VERSIONS.DJANGO_GTE_2_1 %}
{% load i18n l10n static admin_urls %}
{% else %}
{% load i18n l10n admin_static admin_urls %}
{% endif %}
{% load i18n l10n static admin_urls %}

{% block title %}{% trans "Edit multiple objects" %} | {% trans 'Django site admin' %}{% endblock %}

Expand Down

0 comments on commit 2cad432

Please sign in to comment.