Copyright django app
Project description
# django-copyright
[django-copyright](https://github.com/arteria/django-copyrigh) keeps your site's copyright notice up-to-date. Forever and ever.
## Installation
Install copyright from the PyPI using:
pip install django-copyright
Add `copyright` to your `INSTALLED_APPS`
INSTALLED_APPS = (
'copyright',
)
set a `COPY_START_YEAR` in the django settings (this is an ingeter)
COPY_START_YEAR = 2009
to span a range.
## Usage
Load copyrighttags in the template with `{% load copyrighttags %}`, afterwards place `{% getCopyrightYears %}` in the template, this will render a string like "2009 - 2012" or "2012" in case ``COPY_START_YEAR`` is not definied in your project settings.
[django-copyright](https://github.com/arteria/django-copyrigh) keeps your site's copyright notice up-to-date. Forever and ever.
## Installation
Install copyright from the PyPI using:
pip install django-copyright
Add `copyright` to your `INSTALLED_APPS`
INSTALLED_APPS = (
'copyright',
)
set a `COPY_START_YEAR` in the django settings (this is an ingeter)
COPY_START_YEAR = 2009
to span a range.
## Usage
Load copyrighttags in the template with `{% load copyrighttags %}`, afterwards place `{% getCopyrightYears %}` in the template, this will render a string like "2009 - 2012" or "2012" in case ``COPY_START_YEAR`` is not definied in your project settings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-copyright-1.0.0.tar.gz
.
File metadata
- Download URL: django-copyright-1.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c91681da60780a402deca1a719289bfbc0a3312ad3bbfa54c8db7902ee9228f |
|
MD5 | 12dcff1b1e4f710b350e9fda98d8f778 |
|
BLAKE2b-256 | 25b770e4b44b38f3cb6150d1e88a24eef0824ce86f39272640650e62533ef0e7 |