Re: User model override and authentication

2022-10-24 Thread Abhishek Kumar
If I may ask: why do you want to do this? If you just want to change what's
displayed on Django Admin for example, you can do that without messing up
with the code.

On Tue, Oct 25, 2022 at 2:48 AM Ayser shuhaib 
wrote:

> Oi Rafael
>
> Iā€™m sure this tutorial will help you:
>
> https://youtu.be/GdfLXHhNABE
>
> On Mon, 24 Oct 2022 at 23:14, Rafael Noronha 
> wrote:
>
>> Hello guys,
>> I'm not advanced in Django and would like to know how and if it's
>> possible to do it.
>>
>> I need to override Django's user model, and change the fields "username"
>> to "sr_usuario" and "password" to "sr_password", but I would like to
>> continue using all Django's default authentication scheme and permissions.
>> I want not only to change the description in the database or a label, I
>> want to change the name of the field in the model, for when for example I
>> needed to make a query, I would use
>> User.objects.filter(sr_usuario="user_name") and everything would work
>> usually.
>>
>> It's possible? I couldn't find anything in the documentation or on forums
>> I've searched.
>>
>> Thank you very much in advance!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/101d09bb-b076-4e54-9cbc-776ff93c979fn%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE0AZGKackLiX%2B83RPyNfHr9gLFX%3DYwrdrKM40tcwBPR48zjWQ%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAORpQohaf_bYGA3VjjbmFCj%2BAC9hpt6aqhgwiHHRVLmFxm01oQ%40mail.gmail.com.


#WomenWhoCanCode Hackathon at Hike Messenger Office, Bangalore

2015-08-25 Thread Abhishek Kumar Gupta
Hi Everyone,

Greetings to you from Dexter Talent Labs!!!

"Be the kind of Woman that when your feet hit the floor on each challenging
competition the devil says "Oh crap, SHE's up!"

We are hosting a one day technical coding event.  You may say half-a-thon :)

We invite all the women coders to come and participate.  We also request
awesome men to encourage women in their life who knows coding to
participate in this contest.  We have associated with the NGO - Durga (
www.durgaindia.org).

On this challenge we want you to use your *Hacking* skills to increase *Women's
Safety*.

Join by *registering* at *www.dexterhack.com <http://www.dexterhack.com/>*

Awesome goodies waiting and also *opportunity to get hired by Hike
Messenger* (a well funded, awesomely cool mobile chat messenger company,
www.get.hike.com).

*Event Date:* 12th September 2015 (Saturday)

*Start Time*: 9 am sharp

*Ends at* : 7pm

*Location*: Hike Ltd., The pearl, #157-160- Next to Imperial Solitaire
Apartment, 5th Main, Sector 7, HSR Layout, Bangalore - 560102



ā€‹

*Note*: It would be even more awesome when you bring your friends also to
participate.  So you know now what to be done ;)

Thanks & Regards
Janaki
Talent Hacker
Dexter Talent Labs

*Upcoming Hackathon: www.dexterhack.com <http://www.dexterhack.com/>*



   Best Regards,
Abhishek Kumar Gupta
PESIT-ISE


ā€‹

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALxtE7_HKsJtS21ey8C7YiyifL9hdhd6wS55Vh1XA66nVfSbdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


unable to open project

2015-01-24 Thread abhishek kumar
I am unable to open my project again.  As i am using virtual enviroment in 
windows.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c56ed20c-c601-4baf-99f9-ad90e4f0c65d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


showing an Integerfield as checkbox in form with defaulted as "check"

2013-03-28 Thread Abhishek Kumar
I am trying to show an integer field as check box and wanted to show it as 
default check. 
Does anyone know how to do this.

thanks
ak

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.