2 Separate user accounts in django [closed]












0















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?










share|improve this 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
















0















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?










share|improve this 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














0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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



















  • 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












1 Answer
1






active

oldest

votes


















1














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'





share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    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'





    share|improve this answer




























      1














      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'





      share|improve this answer


























        1












        1








        1







        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'





        share|improve this answer













        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'






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 29 '18 at 7:12









        Mohit HarshanMohit Harshan

        479212




        479212

















            Popular posts from this blog

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)