Tateology / kaeru

Everything kaeru
0 stars 8 forks source link

User management #12

Closed fabianmuehlboeck closed 9 years ago

fabianmuehlboeck commented 9 years ago

@HenryYao369 There should be library functions to create users, edit user data, and check user credentials. (Maybe the existing python/django code can be adapted?)

HenryYao369 commented 9 years ago

I did not find existing code in THIS REPO(already went over all the .py files). Maybe it is my ignorance but if it is not, I should find something(like Python packages) on the Internet to deal with User Management?

I believe there should be some since this is a common function for building interactive website. If someone knows please tell me, thanks:)

fabianmuehlboeck commented 9 years ago

If you run the website, the functionality is there. There are also tables in the database for it. Hence the relevant code must be somewhere.

HenryYao369 commented 9 years ago

I've identified the bug. There must be a pre-existed "KaeruUsers" Group, and then you could sign-up successfully.

But, what do you mean by "There are also tables in the database for it" in your last comment?--how do you find and look at the tables in DB?(I can only do this in admin site; just wondering how you could do this...)

fabianmuehlboeck commented 9 years ago

Great! You can download a command-line program from http://sqlite.org/download.html that lets you open and read/edit the db.db file. In any case, please submit a pull request that corrects this problem for everyone.