Re: Legacy DB: ID is null when .save or .create

2019-05-17 Thread Sanjeev Singh
Hey, in django there is a `id` column by default get created for every
object you create which will auto-increment so need to create here. In your
case your model should be look like this:

*class Case(models.Model):*
* case_id = models.ForeignKey(.)*
* user_id = models.ForeignKey(...)*


*And suppose to get the model of id=1:*



*Case.objects.get(id=1)thanks,Sanjeev*

On Sat, May 18, 2019 at 1:42 AM Mei B  wrote:

> I'm using a legacy DB with postgres. In one of my models:
>
> class case(models.Model):
>  id = models.AutoField(primary_key=True)
>  case_id = models.ForeignKey(.)
>  user_id = models.ForeignKey(...)
>
> When I'm saving or creating a new case object, I always get "null value in
> column 'id' violates not-null"
>
> How do I get this to auto-increment?
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5d621db9-39e8-44c8-92e2-80fdabc760af%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Btz_AAxc1WPtyz%2Bc7%3D%2BGtFiLzmReLYSmobD3QdhBJpg_jxe4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Contributing to Django

2018-09-06 Thread Sanjeev Singh
Hello,
I’m a beginner want to contribute please help me in solving some easy 
bugs so that I can get started.

Thank you.

Sent from Mail for Windows 10

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5b91518c.1c69fb81.6db14.affc%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Re: Contributing to Django

2018-09-06 Thread Sanjeev Singh
Hello Sir,
I've already done some projects in django but now I want to contribute. I
want to start this by solving some easy bugs, If you suggest some.
Thank you.

On Fri, Sep 7, 2018 at 10:37 AM Andréas Kühne 
wrote:

> Hi,
>
> I think you really should get some experience with writing applications in
> django before you start contributing to the project itself. The django
> project is rather complex and it takes a while to understand the concepts
> behind it. I have been working with django for 5 years now and haven't
> found anything that I would feel comfortable with changing in the project
> itself yet.
>
> Regards,
>
> Andréas
>
>
> Den fre 7 sep. 2018 kl 04:35 skrev Sanjeev Singh <
> sanjeevsinghdevi...@gmail.com>:
>
>> Hello,
>>
>> I’m a beginner want to contribute please help me in
>> solving some easy bugs so that I can get started.
>>
>>
>>
>> Thank you.
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> --
>> 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 https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/5b91518c.1c69fb81.6db14.affc%40mx.google.com
>> <https://groups.google.com/d/msgid/django-users/5b91518c.1c69fb81.6db14.affc%40mx.google.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK4qSCeYBZOP9axZF10YnjJtChNT_oQyu1jAtw4KhTM66sS6mw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAK4qSCeYBZOP9axZF10YnjJtChNT_oQyu1jAtw4KhTM66sS6mw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Btz_ABAiGGubYQyLJeu5bJbADi%3D9QZ4Zj2Tf%2BQy22eyk5NLLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Contributing to Django

2018-09-06 Thread Sanjeev Singh
Thank you for replying me back Sir, It will be great help for me if you can
provide me some links where I should go for that, how I can jump into this.
Thank you.



On Fri, Sep 7, 2018 at 11:12 AM Andréas Kühne 
wrote:

> That's good if you think you have that experience. Contributing back is
> always good :-)
>
> However - if you want to discuss this, I think you should change to the
> developers mailing list instead. They can probably help you. Or just go and
> check the issues on the django project and see if you can help there?
>
> Regards,
>
> Andréas
>
>
> Den fre 7 sep. 2018 kl 07:24 skrev Sanjeev Singh <
> sanjeevsinghdevi...@gmail.com>:
>
>> Hello Sir,
>> I've already done some projects in django but now I want to contribute. I
>> want to start this by solving some easy bugs, If you suggest some.
>> Thank you.
>>
>> On Fri, Sep 7, 2018 at 10:37 AM Andréas Kühne 
>> wrote:
>>
>>> Hi,
>>>
>>> I think you really should get some experience with writing applications
>>> in django before you start contributing to the project itself. The django
>>> project is rather complex and it takes a while to understand the concepts
>>> behind it. I have been working with django for 5 years now and haven't
>>> found anything that I would feel comfortable with changing in the project
>>> itself yet.
>>>
>>> Regards,
>>>
>>> Andréas
>>>
>>>
>>> Den fre 7 sep. 2018 kl 04:35 skrev Sanjeev Singh <
>>> sanjeevsinghdevi...@gmail.com>:
>>>
>>>> Hello,
>>>>
>>>> I’m a beginner want to contribute please help me in
>>>> solving some easy bugs so that I can get started.
>>>>
>>>>
>>>>
>>>> Thank you.
>>>>
>>>>
>>>>
>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>> Windows 10
>>>>
>>>>
>>>>
>>>> --
>>>> 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 https://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/5b91518c.1c69fb81.6db14.affc%40mx.google.com
>>>> <https://groups.google.com/d/msgid/django-users/5b91518c.1c69fb81.6db14.affc%40mx.google.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> 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 https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAK4qSCeYBZOP9axZF10YnjJtChNT_oQyu1jAtw4KhTM66sS6mw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAK4qSCeYBZOP9axZF10YnjJtChNT_oQyu1jAtw4KhTM66sS6mw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CA%2Btz_ABAiGGubYQyLJeu5bJbADi%3D9QZ4Zj2Tf%2BQy22eyk5NLLQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CA%2Btz_ABAiGGubYQyLJeu5bJbADi%3D9QZ4Zj2Tf%2BQy22eyk5NLLQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subsc

Re: Experienced django developer is needed.

2018-10-25 Thread Sanjeev Singh
Hello,

I'm Sanjeev Singh, a college student. I have done several projects on 
django. I'm ready to do this project. Can I get the details regarding this 
project.

On Thursday, October 25, 2018 at 4:56:38 PM UTC+5:30, BBG wrote:
>
> I have one project on django1.0 and python 2.7. If anyone is interested 
> than contact me... 
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9e13221d-c0cd-4ace-86d1-3b7eca2652e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to install Django in ubuntu 16.04

2018-12-21 Thread Sanjeev Singh
@
Dr. Sandeep Singh Sengar

Can you please show me your error.

On Fri, Dec 21, 2018 at 10:20 PM Sandeep Sengar <
sandeep.iitdhan...@gmail.com> wrote:

> done;
>
> On Fri, Dec 21, 2018 at 8:30 PM Gear Crew 
> wrote:
>
>> Hello the first one show us your message errors and the second prefer use
>> virtual environment like pipenv or virtualenv  and hold on until solve your
>> problem
>> On Friday, 21 December 2018 15:34:00 UTC+2, Dr. Sandeep Singh Sengar
>> wrote:
>>>
>>> Hi,
>>>
>>> I have tried lot to install Django framework from
>>> https://docs.djangoproject.com/en/2.1/topics/install/#installing-official-release
>>> . However every time there is new error, kindly support me in this regard
>>> by providing clear steps.
>>>
>>> I am using Python 3.7.1 and pip 18.1
>>>
>>>
>>> Your help will be highly appreciated.
>>>
>>> Thank You
>>>
>> --
>> 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 https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f662458a-b7e7-4324-80b7-c5d4d3593e44%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Warm Regards,
> *Dr. Sandeep Singh Sengar,*
>
> *MTech (MNNIT-Allahabad), PhD (IIT-Dhanbad)*
>
> *Assistant Professor, Research Coordinator*
>
> *Department of Computer Science & Engineering,*
> *GL Bajaj Institute of Technology & Management,*
>
> *Gr. Noida, INDIA*
>
> **
> *Voice: +91-635492*
> *Email: sandeep.si...@glbitm.org *
>
>
> *Google Scholar: 
> https://scholar.google.co.in/citations?user=ULBn6XIJ&hl=en&oi=ao
>   *
> *Research Gate: *
> *https://www.researchgate.net/profile/Sandeep_Singh_Sengar
> *
> *Linkedin**: **https://www.linkedin.com/in/dr-sandeep-singh-sengar-8038717b/
> *
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMabqZQeCR0dAYT2Og6wNixb8wkNaO%2BrRt3zUsYUKKjB8UMYEw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Btz_AAh2_fG2zLArcLtNGOJTXHBzejdqUPn3BbKir7ubJJC2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-18 Thread Sanjeev Singh
I'm interested, please add me.

Thanks!
Sanjeev Singh

On Mon, Feb 19, 2024 at 2:00 AM Colin Ado  wrote:

> I am on it,
> Please I will be grateful to be part of this journey.
> Interested!
>
> Thank you
>
> On Sun, 18 Feb 2024 at 22:42, REAGAN.M.E.M 
> wrote:
>
>> I am interested ..Lead me on
>>
>> On Sun, Feb 18, 2024, 22:29 fextha satria  wrote:
>>
>>> I'm interesting in this project. Please allow me to join.
>>>
>>> Satria fextha
>>>
>>> Outlook for iOS <https://aka.ms/o0ukef> を入手
>>> --
>>> *差出人:* django-users@googlegroups.com  が
>>> SURAJ TIWARI  の代理で送信
>>> *送信日時:* Sunday, February 18, 2024 9:04:08 PM
>>> *宛先:* Django users 
>>> *件名:* Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging
>>> Project!
>>>
>>>
>>> 🚀 Join Our Django WhatsApp Bulk Messaging Project!
>>>
>>> 👋 Hello everyone,
>>>
>>> Are you looking for an exciting opportunity to gain hands-on experience
>>> in Django development? Do you want to work on a meaningful project that
>>> leverages WhatsApp for bulk messaging? We're thrilled to invite you to join
>>> our dynamic team!
>>>
>>> 🌟 Benefits:
>>>
>>>- Get hands-on experience working on a real-world Django project.
>>>- Learn how to leverage WhatsApp for bulk messaging, a valuable
>>>skill in today's digital landscape.
>>>- Opportunities for hybrid work, allowing flexibility in your
>>>schedule.
>>>- Collaborate with experienced developers and gain valuable
>>>mentorship.
>>>- Access to cutting-edge tools and technologies.
>>>
>>> 💼 Opportunities Available:
>>>
>>>- Django developers
>>>- Frontend developers
>>>- UI/UX designers
>>>- Quality assurance testers
>>>
>>> 🤝 How to Join: Simply reply to this message expressing your interest,
>>> and we'll provide you with all the necessary details to get started on our
>>> project.
>>>
>>> Let's work together to create something amazing and gain valuable
>>> experience along the way! 💻✨
>>>
>>> Best regards,
>>>
>>> Suraj Tiwari
>>>
>>>
>>> --
>>> 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/e8a705fd-10d9-4c1a-b4ba-0a7b896dbfean%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/e8a705fd-10d9-4c1a-b4ba-0a7b896dbfean%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>>> 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/SEYPR01MB5419A1A2B1AAFDE1E19D4BF4F4522%40SEYPR01MB5419.apcprd01.prod.exchangelabs.com
>>> <https://groups.google.com/d/msgid/django-users/SEYPR01MB5419A1A2B1AAFDE1E19D4BF4F4522%40SEYPR01MB5419.apcprd01.prod.exchangelabs.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CAE-RLgPCSEFBxnKehc9NTFztMPMF%3Ddnq9PGZbSZTHjFE79RihQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAE-RLgPCSEFBxnKehc9NTFztMPMF%3Ddnq9PGZbSZTHjFE79RihQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAKHUQ0T5gf7Spq5VRRAFwcOjPPTZ_59zrDe80edyppK%3Di6kdww%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKHUQ0T5gf7Spq5VRRAFwcOjPPTZ_59zrDe80edyppK%3Di6kdww%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2Btz_ACwOPDPDH%2BuJ38OoK7dayNrc%3DpFJZMRhmnE0K8VFoVe8w%40mail.gmail.com.