Have you truncate table auth_users?

ola neat <tosinayoo...@gmail.com> schrieb am Sa., 9. Okt. 2021, 16:00:

> But it working perfectly offline
>
> On Sat, Oct 9, 2021, 14:26 Ahmad Abdulnasir Shuaib <
> ahmadabdulnas...@gmail.com> wrote:
>
>> Check your models, you may have unique_together option enabled.
>>
>> On Sat, Oct 9, 2021, 12:09 PM Sebastian Jung <sebastian.ju...@gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> No only friends get social media or WhatsApp.
>>>
>>> I think yoz need a experience developer. Try to get one developer on
>>> upwork. I have no expeeience with serializer...
>>>
>>> Regards
>>>
>>>
>>>
>>> Hubert Kanyamahanga <kanyamahanga.hub...@aims-senegal.org> schrieb am
>>> Sa., 9. Okt. 2021, 09:31:
>>>
>>>> Can you write to me on whatsapp so that I can  provide more help or
>>>> even skype or telegram
>>>>
>>>> Get Outlook for Android <https://aka.ms/AAb9ysg>
>>>>
>>>> ------------------------------
>>>> *From:* django-users@googlegroups.com <django-users@googlegroups.com>
>>>> on behalf of Sebastian Jung <sebastian.ju...@gmail.com>
>>>> *Sent:* Saturday, October 9, 2021 7:26:44 AM
>>>> *To:* django-users@googlegroups.com <django-users@googlegroups.com>
>>>> *Subject:* Re:
>>>>
>>>> I mean same database and not same database system...
>>>>
>>>> ola neat <tosinayoo...@gmail.com> schrieb am Sa., 9. Okt. 2021, 09:25:
>>>>
>>>> Yes postgres
>>>>
>>>> On Sat, Oct 9, 2021, 08:15 Sebastian Jung <sebastian.ju...@gmail.com>
>>>> wrote:
>>>>
>>>> On exactly same database?
>>>>
>>>> ola neat <tosinayoo...@gmail.com> schrieb am Sa., 9. Okt. 2021, 09:14:
>>>>
>>>> But it working on localhost without issues
>>>>
>>>> On Sat, Oct 9, 2021, 08:07 Hubert Kanyamahanga <
>>>> kanyamahanga.hub...@aims-senegal.org> wrote:
>>>>
>>>> Hi Ola, I see where the issue is, the line
>>>> *self.perform_create(serializer)* on the *def create() *method creates
>>>> as well as the line *serializer.save()* on the method *def post()*. So
>>>> in other words, you are trying to create the same user twice,* please
>>>> comment one of them if you want you can empty your table and start again it
>>>> will work.*
>>>>
>>>> Again there is no reason to use these two methods as they do the same
>>>> thing. Remove completely either the post or the create.
>>>>
>>>> You can text me on whatsApp if you need more support: +221777922780
>>>>
>>>> Best,
>>>>
>>>> H
>>>>
>>>>
>>>> On Sat, 9 Oct 2021 at 06:51, ola neat <tosinayoo...@gmail.com> wrote:
>>>>
>>>> this is my function
>>>> [image: image.png]
>>>>
>>>>
>>>> On Fri, Oct 8, 2021 at 6:52 PM Sebastian Jung <
>>>> sebastian.ju...@gmail.com> wrote:
>>>>
>>>> Hello,
>>>>
>>>> Your app tries to insert a new entry in table auth.users. in this table
>>>> a User exists with id=2 and you get this constraint error. Please truncate
>>>> auth.users table and try it again.
>>>>
>>>> Regards
>>>>
>>>> ola neat <tosinayoo...@gmail.com> schrieb am Fr., 8. Okt. 2021, 18:12:
>>>>
>>>> Hello guys
>>>> I've got this issue i don't understand, before i deployed my  APIS to
>>>> heroku everything was working perfectly, but now that i deployed I'm
>>>> getting this error, pls can anyone help 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAHLKn727okM8xWxX2o7ZgSLT6pDFXQf_oS6NC-83K7zkv9NhXw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAHLKn727okM8xWxX2o7ZgSLT6pDFXQf_oS6NC-83K7zkv9NhXw%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/CAKGT9mz-hLnzKVtPSh5WsGhG1CO-afPLJtqwSBz2mHTibgpPZw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKGT9mz-hLnzKVtPSh5WsGhG1CO-afPLJtqwSBz2mHTibgpPZw%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/CAHLKn71yxd2sTLNvXf4srU9t2pfahc29NdOOa5j0zZmPn%3DACgw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAHLKn71yxd2sTLNvXf4srU9t2pfahc29NdOOa5j0zZmPn%3DACgw%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/CAE4dFh0xyoU%3DH1N%3DvZTeTo3gGbAKNR5Z7qqT4JkwN9reb3kF2w%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAE4dFh0xyoU%3DH1N%3DvZTeTo3gGbAKNR5Z7qqT4JkwN9reb3kF2w%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/CAHLKn72AfM7Z3GitQoJYiV-%2ByQ8sx6a97Q13noNmJT4dBS1fAQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAHLKn72AfM7Z3GitQoJYiV-%2ByQ8sx6a97Q13noNmJT4dBS1fAQ%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/CAKGT9myN9-uF__6s4T1qVRCMK-2ttpF9FaXe3%2BdTcw%2BWnfT4%2Bw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKGT9myN9-uF__6s4T1qVRCMK-2ttpF9FaXe3%2BdTcw%2BWnfT4%2Bw%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/CAHLKn72OKqR_YNYPd01hRNSm%3Dqey2zuuyQZYGUd-zv0P2LcU_w%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAHLKn72OKqR_YNYPd01hRNSm%3Dqey2zuuyQZYGUd-zv0P2LcU_w%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/CAKGT9mzm28nLSUpo00xdxJ%2Bx9AoncdxUbOyp8hy-9bBh%3D6x7Jw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzm28nLSUpo00xdxJ%2Bx9AoncdxUbOyp8hy-9bBh%3D6x7Jw%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/PR3P193MB06676E52C07165EFA5632747A2B39%40PR3P193MB0667.EURP193.PROD.OUTLOOK.COM
>>>> <https://groups.google.com/d/msgid/django-users/PR3P193MB06676E52C07165EFA5632747A2B39%40PR3P193MB0667.EURP193.PROD.OUTLOOK.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/CAKGT9myZBvU8630uROkbwZbZ4zROinjXrm82ZSxNKYCNAbiY%3Dw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAKGT9myZBvU8630uROkbwZbZ4zROinjXrm82ZSxNKYCNAbiY%3Dw%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/CAE9AdkZpz7QvxDkt606Wg5_zVqf9fqr3vTGTh8n4b84OO1Ffng%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAE9AdkZpz7QvxDkt606Wg5_zVqf9fqr3vTGTh8n4b84OO1Ffng%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/CAHLKn70MNSqE-qsoMekdvbZyFsVcLArDAZw_ABfkW%2BG3DMnADA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHLKn70MNSqE-qsoMekdvbZyFsVcLArDAZw_ABfkW%2BG3DMnADA%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/CAKGT9mxDg-qF1BtBC9csYDwQtF8CLZertFQSKga35Gjom392XA%40mail.gmail.com.
  • Re: Sebastian Jung
    • Re: Re: Ahmad Abdulnasir Shuaib
      • Re: Re: ola neat
        • Re: Re: Sebastian Jung

Reply via email to