Skip to content

Commit

Permalink
Move homepage to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Apr 18, 2020
1 parent 8fec6db commit c3e30b7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
python-version: 3.7
- uses: Gr1N/setup-poetry@v2
with:
poetry-version: 1
poetry-version: 1.0.5
- run: poetry install --no-root
- run: poetry run pytest
10 changes: 8 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
Django Static Revision
======================

.. image:: https://madewithlove.now.sh/vn?heart=true&colorA=%23ffcd00&colorB=%23da251d
.. image:: https://badgen.net/pypi/v/dj-static-revision
:target: https://pypi.org/project/dj-static-revision

Provide a context variable to retrieve the version of a Django application.

Django plugin to provide a context variable for retrieving the version of running application.

This variable is meant to change the URL of a static file, to invalidate browser cache.

Expand All @@ -15,7 +19,7 @@ Install
pip3 install dj-static-revision
`Django Static Revision` only supports Python 3.4+.
`Django Static Revision` only supports Python 3.6+.


Usage
Expand Down Expand Up @@ -60,3 +64,5 @@ You can also change the file for `Django Static Revision` to read revision strin
.. code-block:: python
STATIC_REVISION_VERSION_FILE = '.version'
where *.version* is a text file containing any string you want.
13 changes: 0 additions & 13 deletions bitbucket-pipelines.yml

This file was deleted.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "dj-static-revision"
version = "0.2.0"
version = "0.3"
description = "Revision info for Django static file"
authors = ["Nguyễn Hồng Quân <[email protected]>"]
license = "Apache-2.0"
repository = "https://bitbucket.org/hongquan/dj-static-revision.git"
homepage = "https://bitbucket.org/hongquan/dj-static-revision/"
repository = "https://github.com/AgriConnect/dj-static-revision.git"
homepage = "https://github.com/AgriConnect/dj-static-revision"
readme = "README.rst"
keywords = ["django", "static", "version", "cache"]
classifiers = [
Expand Down

0 comments on commit c3e30b7

Please sign in to comment.