mirror of
https://github.com/django-components/django-components.git
synced 2025-09-27 16:09:07 +00:00
Release version 0.17.
This commit is contained in:
parent
b7486cae89
commit
c9f0068741
2 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,10 @@ And this is what gets rendered (plus the CSS and Javascript you've specified):
|
||||||
|
|
||||||
Read on to learn about the details!
|
Read on to learn about the details!
|
||||||
|
|
||||||
|
# Release notes
|
||||||
|
|
||||||
|
*Version 0.17* renames `Component.context` and `Component.template` to `get_context_data` and `get_template_name`. The old methods still work, but emit a deprecation warning. This change was done to sync naming with Django's class based views, and make using django-components more familiar to Django users. `Component.context` and `Component.template` will be removed when version 1.0 is released.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
Install the app into your environment:
|
Install the app into your environment:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -3,7 +3,7 @@ import os
|
||||||
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
VERSION = "0.16"
|
VERSION = '0.17'
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="django_components",
|
name="django_components",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue