Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

added *args and **kwargs to create()#8

Open
kbkb wants to merge 1 commit intorossp:masterfrom
kbkb:master
Open

added *args and **kwargs to create()#8
kbkb wants to merge 1 commit intorossp:masterfrom
kbkb:master

Conversation

@kbkb
Copy link
Copy Markdown

@kbkb kbkb commented Jul 12, 2013

creating menus works ok, when it's done within admin panel. However, when user wants to create menu inside, for example, test method, it's not possible, because there are additional parameters (from using super(), for example parameter "using"). Adding _args and *_kwargs solves the problem (and everything else is left untouched). Also, when you accept this pull request, consider updating package in pip.

… django's additional parameters (from super())
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant