Skip to content

Commit dccc1f8

Browse files
committed
Updating project, docs, and stuff
1 parent 4f2bd25 commit dccc1f8

12 files changed

+62
-41
lines changed

AUTHORS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## Credits
1+
# Credits
22

3-
# Original author:
3+
## Original author:
44
Val Kneeman under the name [django-menuware](https://github.com/un33k/django-menuware)
55

6-
# Development Lead:
6+
## Development Lead:
77
* Milton Lenis - [email protected]
88

9-
# Contributors:
9+
## Contributors:
1010
None yet. Why not be the first?

CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
##1.0.3
2+
3+
Project Enhancements:
4+
5+
- Dropping support for Python 2
6+
- Updating docs
7+
- Readme updating
8+
- Support for Django 2.0 (Thanks to @lachmanfrantisek)
9+
10+
Features:
11+
12+
- Adding support to root paths (Thanks to @lucaskuzma)
13+
14+
BugFix:
15+
16+
- Fixing backward compatibility with Django < 1.10
17+
18+
##1.0.2
19+
20+
Project Enhancements:
21+
22+
- Updating .gitignore to ignore sphinx builds
23+
- Updating docs
24+
- Readme enhancements
25+
26+
##1.0.1
27+
28+
Project Enhancements:
29+
30+
- Added flake8 to CI
31+
- Added tox
32+
- Added docs
33+
- Readme enhanced
34+
35+
BugFix:
36+
37+
- Added a correction to the validators evaluation with the AND connector
38+
139
## 1.0.0
240

341
Feature:
@@ -6,7 +44,7 @@ Feature:
644
- Dropped support for Python < 3.4
745
- Changed licensing from BSD to MIT
846
- Added `validators` feature
9-
- Not backward compatible with versions < 1.0.0
47+
- Not backward compatible with versions < 1.0.0
1048

1149
## 0.1.10
1250

README.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ You can install it with one of these options:
3535

3636
- ``easy_install django-menu-generator``
3737
- ``pip install django-menu-generator``
38-
- ``git clone https://github.com/RADYConsultores/django-menu-generator``
38+
- ``git clone https://github.com/LaLogiaDePython/django-menu-generator``
3939

4040
1. ``cd django-menu-generator``
4141
2. run python setup.py
4242

43-
- ``wget https://github.com/RADYConsultores/django-menu-generator/zipball/master``
43+
- ``wget https://github.com/LaLogiaDePython/django-menu-generator/zipball/master``
4444

4545
1. unzip the downloaded file
4646
2. cd into django-menu-generator-\* directory
@@ -210,22 +210,16 @@ Author and mantainers:
210210

211211
`Juan Diego García <https://github.com/yamijuan>`__ - [email protected]
212212

213-
Mantained by:
214-
215-
|rady-logo|
216-
217213
Credits:
218214
--------
219215

220216
We would like to thank `Val Kneeman <https://github.com/un33k>`__, the
221217
original author of this project under the name 'menuware'
222218
https://github.com/un33k/django-menuware
223219

224-
.. |status-image| image:: https://travis-ci.org/RADYConsultores/django-menu-generator.svg?branch=master
225-
:target: https://travis-ci.org/RADYConsultores/django-menu-generator?branch=master
220+
.. |status-image| image:: https://travis-ci.org/LaLogiaDePython/django-menu-generator.svg?branch=master
221+
:target: https://travis-ci.org/LaLogiaDePython/django-menu-generator?branch=master
226222
.. |version-image| image:: https://img.shields.io/pypi/v/django-menu-generator.svg
227223
:target: https://pypi.python.org/pypi/django-menu-generator
228-
.. |coverage-image| image:: https://coveralls.io/repos/github/RADYConsultores/django-menu-generator/badge.svg?branch=master
229-
:target: https://coveralls.io/github/RADYConsultores/django-menu-generator?branch=master
230-
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png
231-
:target: http://rady.com.co
224+
.. |coverage-image| image:: https://coveralls.io/repos/github/LaLogiaDePython/django-menu-generator/badge.svg?branch=master
225+
:target: https://coveralls.io/github/LaLogiaDePython/django-menu-generator?branch=master

docs/authors.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ Authors
44
`Milton Lenis <https://github.com/MiltonLn>`__ - [email protected]
55

66
`Juan Diego García <https://github.com/yamijuan>`__ - [email protected]
7-
8-
|rady-logo|
9-
10-
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png
11-
:target: http://rady.com.co

docs/contribute.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Contribute
22
===========
33

4-
- Issue tracker: `https://github.com/RADYConsultores/django-menu-generator/issues <https://github.com/RADYConsultores/django-menu-generator/issues>`__
5-
- Source code: `https://github.com/RADYConsultores/django-menu-generator <https://github.com/RADYConsultores/django-menu-generator>`__
4+
- Issue tracker: `https://github.com/LaLogiaDePython/django-menu-generator/issues <https://github.com/LaLogiaDePython/django-menu-generator/issues>`__
5+
- Source code: `https://github.com/LaLogiaDePython/django-menu-generator <https://github.com/LaLogiaDePython/django-menu-generator>`__

docs/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ You can install Django Menu Generator with one of these options:
55

66
- ``easy_install django-menu-generator``
77
- ``pip install django-menu-generator``
8-
- ``git clone https://github.com/RADYConsultores/django-menu-generator``
8+
- ``git clone https://github.com/LaLogiaDePython/django-menu-generator``
99

1010
1. ``cd django-menu-generator``
1111
2. run python setup.py
1212

13-
- ``wget https://github.com/RADYConsultores/django-menu-generator/zipball/master``
13+
- ``wget https://github.com/LaLogiaDePython/django-menu-generator/zipball/master``
1414

1515
1. unzip the downloaded file
1616
2. cd into django-menu-generator-\* directory

docs/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
License
22
========
33

4-
Released under a (`MIT <https://github.com/RADYConsultores/django-menu-generator/blob/master/LICENSE>`__) license.
4+
Released under a (`MIT <https://github.com/LaLogiaDePython/django-menu-generator/blob/master/LICENSE>`__) license.

docs/menugeneration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Django Menu Generator uses python dictionaries to represent the menu items, usua
99
"name": 'some name',
1010
"icon_class": 'some icon class',
1111
"url": URL spec,
12+
"root": True | False,
1213
"validators": [ list of validators ],
1314
"submenu": Dictionary like this
1415
}
@@ -21,6 +22,8 @@ Where each key is as follows:
2122

2223
- ``url``: See :doc:`urls`
2324

25+
- ``root``: A flag to indicate this item is the root of a path, with this you can correctly mark nested menus as selected.
26+
2427
- ``validators``: See :doc:`validators`
2528

2629
- ``submenu``: You can create infinite nested submenus passing here menu items like this

docs/support.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,4 @@ Support
22
=======
33

44
If you are having issues, please let us know.
5-
Contact us at: [email protected]
6-
7-
This project is mantained by:
8-
9-
|rady-logo|
10-
11-
.. |rady-logo| image:: http://rady.com.co/static/logo_rady.png
12-
:target: http://rady.com.co
5+
Contact us at: [email protected]

menu_generator/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
__author__ = 'Milton Lenis @ Rady Consultores'
1+
__author__ = 'Milton Lenis'
22
__description__ = 'A straightforward menu generator for Django'
3-
__version__ = '1.0.2'
3+
__version__ = '1.0.3'
44

55
default_app_config = 'menu_generator.apps.MenuAppConfig'

menu_generator/menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from django.core.exceptions import ImproperlyConfigured
55
from .utils import get_callable
66

7-
if django.VERSION >= (1, 10):
7+
if django.VERSION >= (1, 10): # pragma: no cover
88
from django.urls import reverse, NoReverseMatch
99
else:
1010
from django.core.urlresolvers import reverse, NoReverseMatch

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
name = 'django-menu-generator'
99
package = 'menu_generator'
1010
description = "A straightforward menu generator for Django"
11-
url = 'https://github.com/RADYConsultores/django-menu-generator'
11+
url = 'https://github.com/LaLogiaDePython/django-menu-generator'
1212
author = 'Milton Lenis'
1313
author_email = '[email protected]'
1414
keywords = "django navigation menu generator"
@@ -21,8 +21,6 @@
2121
'License :: OSI Approved :: MIT License',
2222
'Operating System :: OS Independent',
2323
'Programming Language :: Python',
24-
"Programming Language :: Python :: 2",
25-
"Programming Language :: Python :: 2.7",
2624
"Programming Language :: Python :: 3",
2725
"Programming Language :: Python :: 3.4",
2826
"Programming Language :: Python :: 3.5",

0 commit comments

Comments
 (0)