Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.

#1 June 14, 2010 14:02:18

Sakis A.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Managing users

Hi Django users,

developing my application for storing the employee's expenses, my
database has a model class named employee that has the below columns
(name, password, isAdmin, branch, isActive) The name and the password
should be used for the login and the isAdmin should be used for the
permissions. e.g. A non-admin employ will only have the permissions to
save expenses, whereas an admin employ would have permissions to
create new expenses' categories, new branches, new projects etc. Also
the employee_id should be the foreign key onto the expenses table,
thus the expense save should get the logged in employee's id and store
it to the expense record.

I have no previous experience in django apps and I want to know if my
app's requirements are such that I 'd better use the integrated login
which stores to the table auth_user or develop my own login
functionality that ommits the auth_user and logins using my Employee

Thanks a lot.

You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.


Board footer

Moderator control

Enjoy the 23rd of March

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support