2 Separate user accounts in django [closed]
I m wondering if it is possible to have 2 separate accounts for django/python. I have a user(CLIENT) account but also looking to have a service provider account with a a login on the same project. Is this possible and what is the best method?
python django django-admin
closed as off-topic by markwalker_, Patrick Mevzek, solarissmoke, il_raffa, EdChum Nov 29 '18 at 8:51
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – markwalker_, Patrick Mevzek, il_raffa, EdChum
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I m wondering if it is possible to have 2 separate accounts for django/python. I have a user(CLIENT) account but also looking to have a service provider account with a a login on the same project. Is this possible and what is the best method?
python django django-admin
closed as off-topic by markwalker_, Patrick Mevzek, solarissmoke, il_raffa, EdChum Nov 29 '18 at 8:51
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – markwalker_, Patrick Mevzek, il_raffa, EdChum
If this question can be reworded to fit the rules in the help center, please edit the question.
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36
add a comment |
I m wondering if it is possible to have 2 separate accounts for django/python. I have a user(CLIENT) account but also looking to have a service provider account with a a login on the same project. Is this possible and what is the best method?
python django django-admin
I m wondering if it is possible to have 2 separate accounts for django/python. I have a user(CLIENT) account but also looking to have a service provider account with a a login on the same project. Is this possible and what is the best method?
python django django-admin
python django django-admin
asked Nov 29 '18 at 0:24
Pierce O'NeillPierce O'Neill
329514
329514
closed as off-topic by markwalker_, Patrick Mevzek, solarissmoke, il_raffa, EdChum Nov 29 '18 at 8:51
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – markwalker_, Patrick Mevzek, il_raffa, EdChum
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by markwalker_, Patrick Mevzek, solarissmoke, il_raffa, EdChum Nov 29 '18 at 8:51
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – markwalker_, Patrick Mevzek, il_raffa, EdChum
If this question can be reworded to fit the rules in the help center, please edit the question.
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36
add a comment |
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36
add a comment |
1 Answer
1
active
oldest
votes
You can extend the default User for django by
inheriting from AbstractUser
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
#Boolean field to check if client or service provider
is_client = models.BooleanField(default=False)
is_serviceprovider = models.BooleanField(default=False)
# Give other fields
Then in the settings.py ,add
AUTH_USER_MODEL = 'appname.User'
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can extend the default User for django by
inheriting from AbstractUser
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
#Boolean field to check if client or service provider
is_client = models.BooleanField(default=False)
is_serviceprovider = models.BooleanField(default=False)
# Give other fields
Then in the settings.py ,add
AUTH_USER_MODEL = 'appname.User'
add a comment |
You can extend the default User for django by
inheriting from AbstractUser
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
#Boolean field to check if client or service provider
is_client = models.BooleanField(default=False)
is_serviceprovider = models.BooleanField(default=False)
# Give other fields
Then in the settings.py ,add
AUTH_USER_MODEL = 'appname.User'
add a comment |
You can extend the default User for django by
inheriting from AbstractUser
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
#Boolean field to check if client or service provider
is_client = models.BooleanField(default=False)
is_serviceprovider = models.BooleanField(default=False)
# Give other fields
Then in the settings.py ,add
AUTH_USER_MODEL = 'appname.User'
You can extend the default User for django by
inheriting from AbstractUser
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
#Boolean field to check if client or service provider
is_client = models.BooleanField(default=False)
is_serviceprovider = models.BooleanField(default=False)
# Give other fields
Then in the settings.py ,add
AUTH_USER_MODEL = 'appname.User'
answered Nov 29 '18 at 7:12
Mohit HarshanMohit Harshan
479212
479212
add a comment |
add a comment |
Of course it's possible, just create another account.
– markwalker_
Nov 29 '18 at 0:36