Agate

Results 68 comments of Agate

I'm sorry, that's a mistake in the example. You can solve it by replacing `blog.children.add` with `blog.add`. I'll update the README to reflect this.

Feel free to report subsequent errors in README here :)

Please comment the assert line and replace it with `print(blog.get_url())`. What is the output ? I think it is `/api/`, which is why the assertion fails.

@tboulogne unfortunately, we cannot simply remove the `reverse_kwargs` argument or change the argument structure, because it would break backward compatibility for existing users of this library. However, we could support...

@tboulogne if you already know the args and pattern, isn't it possible to directly call `Node(url=reverse('namespace:name', args=['yourarg']))`?

Hi @tboulogne, I'd like to merge this, but I'm lacking some context. Can you please elaborate on the problem this solves? Thank you!

Isn't it possible to provide the kwargs when calling `get_url` ?

E.g like that: ```python node = menu.Node('test', 'Test', pattern_name='category', reverse_kwargs=['slug']) url = node.get_url(slug='test') ```

Hi, Have you figured it out ? What was the problem ?

The problem here is that one of your menu items uses the route `accounts_login` without having it declared in `urls.py`, so a `NoReverseMatchError` is raised. Does this route exist in...