Skip to content
Snippets Groups Projects
Commit dccc1f88 authored by MiltonLn's avatar MiltonLn
Browse files

Updating project, docs, and stuff

parent 4f2bd253
No related branches found
No related tags found
No related merge requests found
## Credits # Credits
# Original author: ## Original author:
Val Kneeman under the name [django-menuware](https://github.com/un33k/django-menuware) Val Kneeman under the name [django-menuware](https://github.com/un33k/django-menuware)
# Development Lead: ## Development Lead:
* Milton Lenis - miltonln04@gmail.com * Milton Lenis - miltonln04@gmail.com
# Contributors: ## Contributors:
None yet. Why not be the first? None yet. Why not be the first?
##1.0.3
Project Enhancements:
- Dropping support for Python 2
- Updating docs
- Readme updating
- Support for Django 2.0 (Thanks to @lachmanfrantisek)
Features:
- Adding support to root paths (Thanks to @lucaskuzma)
BugFix:
- Fixing backward compatibility with Django < 1.10
##1.0.2
Project Enhancements:
- Updating .gitignore to ignore sphinx builds
- Updating docs
- Readme enhancements
##1.0.1
Project Enhancements:
- Added flake8 to CI
- Added tox
- Added docs
- Readme enhanced
BugFix:
- Added a correction to the validators evaluation with the AND connector
## 1.0.0 ## 1.0.0
Feature: Feature:
...@@ -6,7 +44,7 @@ Feature: ...@@ -6,7 +44,7 @@ Feature:
- Dropped support for Python < 3.4 - Dropped support for Python < 3.4
- Changed licensing from BSD to MIT - Changed licensing from BSD to MIT
- Added `validators` feature - Added `validators` feature
- Not backward compatible with versions < 1.0.0 - Not backward compatible with versions < 1.0.0
## 0.1.10 ## 0.1.10
......
...@@ -35,12 +35,12 @@ You can install it with one of these options: ...@@ -35,12 +35,12 @@ You can install it with one of these options:
- ``easy_install django-menu-generator`` - ``easy_install django-menu-generator``
- ``pip install django-menu-generator`` - ``pip install django-menu-generator``
- ``git clone https://github.com/RADYConsultores/django-menu-generator`` - ``git clone https://github.com/LaLogiaDePython/django-menu-generator``
1. ``cd django-menu-generator`` 1. ``cd django-menu-generator``
2. run python setup.py 2. run python setup.py
- ``wget https://github.com/RADYConsultores/django-menu-generator/zipball/master`` - ``wget https://github.com/LaLogiaDePython/django-menu-generator/zipball/master``
1. unzip the downloaded file 1. unzip the downloaded file
2. cd into django-menu-generator-\* directory 2. cd into django-menu-generator-\* directory
...@@ -210,10 +210,6 @@ Author and mantainers: ...@@ -210,10 +210,6 @@ Author and mantainers:
`Juan Diego García <https://github.com/yamijuan>`__ - juandgoc@gmail.com `Juan Diego García <https://github.com/yamijuan>`__ - juandgoc@gmail.com
Mantained by:
|rady-logo|
Credits: Credits:
-------- --------
...@@ -221,11 +217,9 @@ We would like to thank `Val Kneeman <https://github.com/un33k>`__, the ...@@ -221,11 +217,9 @@ We would like to thank `Val Kneeman <https://github.com/un33k>`__, the
original author of this project under the name 'menuware' original author of this project under the name 'menuware'
https://github.com/un33k/django-menuware https://github.com/un33k/django-menuware
.. |status-image| image:: https://travis-ci.org/RADYConsultores/django-menu-generator.svg?branch=master .. |status-image| image:: https://travis-ci.org/LaLogiaDePython/django-menu-generator.svg?branch=master
:target: https://travis-ci.org/RADYConsultores/django-menu-generator?branch=master :target: https://travis-ci.org/LaLogiaDePython/django-menu-generator?branch=master
.. |version-image| image:: https://img.shields.io/pypi/v/django-menu-generator.svg .. |version-image| image:: https://img.shields.io/pypi/v/django-menu-generator.svg
:target: https://pypi.python.org/pypi/django-menu-generator :target: https://pypi.python.org/pypi/django-menu-generator
.. |coverage-image| image:: https://coveralls.io/repos/github/RADYConsultores/django-menu-generator/badge.svg?branch=master .. |coverage-image| image:: https://coveralls.io/repos/github/LaLogiaDePython/django-menu-generator/badge.svg?branch=master
:target: https://coveralls.io/github/RADYConsultores/django-menu-generator?branch=master :target: https://coveralls.io/github/LaLogiaDePython/django-menu-generator?branch=master
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png \ No newline at end of file
:target: http://rady.com.co
\ No newline at end of file
...@@ -4,8 +4,3 @@ Authors ...@@ -4,8 +4,3 @@ Authors
`Milton Lenis <https://github.com/MiltonLn>`__ - miltonln04@gmail.com `Milton Lenis <https://github.com/MiltonLn>`__ - miltonln04@gmail.com
`Juan Diego García <https://github.com/yamijuan>`__ - juandgoc@gmail.com `Juan Diego García <https://github.com/yamijuan>`__ - juandgoc@gmail.com
|rady-logo|
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png
:target: http://rady.com.co
\ No newline at end of file
Contribute Contribute
=========== ===========
- Issue tracker: `https://github.com/RADYConsultores/django-menu-generator/issues <https://github.com/RADYConsultores/django-menu-generator/issues>`__ - Issue tracker: `https://github.com/LaLogiaDePython/django-menu-generator/issues <https://github.com/LaLogiaDePython/django-menu-generator/issues>`__
- Source code: `https://github.com/RADYConsultores/django-menu-generator <https://github.com/RADYConsultores/django-menu-generator>`__ - Source code: `https://github.com/LaLogiaDePython/django-menu-generator <https://github.com/LaLogiaDePython/django-menu-generator>`__
...@@ -5,12 +5,12 @@ You can install Django Menu Generator with one of these options: ...@@ -5,12 +5,12 @@ You can install Django Menu Generator with one of these options:
- ``easy_install django-menu-generator`` - ``easy_install django-menu-generator``
- ``pip install django-menu-generator`` - ``pip install django-menu-generator``
- ``git clone https://github.com/RADYConsultores/django-menu-generator`` - ``git clone https://github.com/LaLogiaDePython/django-menu-generator``
1. ``cd django-menu-generator`` 1. ``cd django-menu-generator``
2. run python setup.py 2. run python setup.py
- ``wget https://github.com/RADYConsultores/django-menu-generator/zipball/master`` - ``wget https://github.com/LaLogiaDePython/django-menu-generator/zipball/master``
1. unzip the downloaded file 1. unzip the downloaded file
2. cd into django-menu-generator-\* directory 2. cd into django-menu-generator-\* directory
......
License License
======== ========
Released under a (`MIT <https://github.com/RADYConsultores/django-menu-generator/blob/master/LICENSE>`__) license. Released under a (`MIT <https://github.com/LaLogiaDePython/django-menu-generator/blob/master/LICENSE>`__) license.
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,7 @@ Django Menu Generator uses python dictionaries to represent the menu items, usua ...@@ -9,6 +9,7 @@ Django Menu Generator uses python dictionaries to represent the menu items, usua
"name": 'some name', "name": 'some name',
"icon_class": 'some icon class', "icon_class": 'some icon class',
"url": URL spec, "url": URL spec,
"root": True | False,
"validators": [ list of validators ], "validators": [ list of validators ],
"submenu": Dictionary like this "submenu": Dictionary like this
} }
...@@ -21,6 +22,8 @@ Where each key is as follows: ...@@ -21,6 +22,8 @@ Where each key is as follows:
- ``url``: See :doc:`urls` - ``url``: See :doc:`urls`
- ``root``: A flag to indicate this item is the root of a path, with this you can correctly mark nested menus as selected.
- ``validators``: See :doc:`validators` - ``validators``: See :doc:`validators`
- ``submenu``: You can create infinite nested submenus passing here menu items like this - ``submenu``: You can create infinite nested submenus passing here menu items like this
......
...@@ -2,11 +2,4 @@ Support ...@@ -2,11 +2,4 @@ Support
======= =======
If you are having issues, please let us know. If you are having issues, please let us know.
Contact us at: opensource@radyconsultores.com Contact us at: miltonln04@gmail.com
This project is mantained by:
|rady-logo|
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png
:target: http://rady.com.co
\ No newline at end of file
__author__ = 'Milton Lenis @ Rady Consultores' __author__ = 'Milton Lenis'
__description__ = 'A straightforward menu generator for Django' __description__ = 'A straightforward menu generator for Django'
__version__ = '1.0.2' __version__ = '1.0.3'
default_app_config = 'menu_generator.apps.MenuAppConfig' default_app_config = 'menu_generator.apps.MenuAppConfig'
...@@ -4,7 +4,7 @@ import django ...@@ -4,7 +4,7 @@ import django
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
from .utils import get_callable from .utils import get_callable
if django.VERSION >= (1, 10): if django.VERSION >= (1, 10): # pragma: no cover
from django.urls import reverse, NoReverseMatch from django.urls import reverse, NoReverseMatch
else: else:
from django.core.urlresolvers import reverse, NoReverseMatch from django.core.urlresolvers import reverse, NoReverseMatch
......
...@@ -8,7 +8,7 @@ import sys ...@@ -8,7 +8,7 @@ import sys
name = 'django-menu-generator' name = 'django-menu-generator'
package = 'menu_generator' package = 'menu_generator'
description = "A straightforward menu generator for Django" description = "A straightforward menu generator for Django"
url = 'https://github.com/RADYConsultores/django-menu-generator' url = 'https://github.com/LaLogiaDePython/django-menu-generator'
author = 'Milton Lenis' author = 'Milton Lenis'
author_email = 'miltonln04@gmail.com' author_email = 'miltonln04@gmail.com'
keywords = "django navigation menu generator" keywords = "django navigation menu generator"
...@@ -21,8 +21,6 @@ classifiers = [ ...@@ -21,8 +21,6 @@ classifiers = [
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.5",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment