I need help with the docs

59 views
Skip to first unread message

Martín Gaitán

unread,
Nov 17, 2014, 4:07:18 PM11/17/14
to waliki-devs
I'm happy about the evolution in the development of waliki, but I know that it will be only "for friends" if the documentation is as poor as it is both in clarity and english correctness.

Although I try to learn and improve, I'm still suck with english, so I need some help.

Could somebody send me some pull requests with a proofreading of the current docs and a refactors if you consider it necessary?

Thanks!

Aaron Kitzmiller

unread,
Jan 20, 2015, 10:36:14 PM1/20/15
to walik...@googlegroups.com
Hi, Martin.

Waliki looks nice and I'd be happy to help with some of the documentation (looks pretty good though).  One question I would be happy to add would be how authentication should be done, but I need to know how it should be done :)

It looks like the default login url is /accounts/login.  Is this modifiable?  I take it we add our own view function and template?

Aaron K

Martín Gaitán

unread,
Jan 21, 2015, 4:12:57 PM1/21/15
to Aaron Kitzmiller, waliki-devs
Hey Aaron,

thanks for your kindness.

the LOGIN_URL isn't a waliki's setting but a django one.

https://docs.djangoproject.com/en/1.7/ref/settings/#login-url

This could be overriden for an specific view, passing a parameter 'login_url' to the permission_required decorator. Check the code here:

https://github.com/mgaitan/waliki/blob/f4fdc0574ece544c08252eacf6e1bd5b6c610072/waliki/acl.py#L47

Morever, the 'waliki_demo' project (which is the same code deployed at http://waliki.pythonanywhere.com/) uses django-allauth to handle signup/login processes. I recommend this because it's trivial to implement.

I'll appreciate very much if you can write something for the docs.

cheers.
martin


--
You received this message because you are subscribed to the Google Groups "Waliki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to waliki-devs...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages