Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-12 Thread Julius Lange
Dear people,

currently doing the django tutorial! Really enjoy it so far.

I am using PyCharm, Django version 3.0.2, Python version 3.7.1.

In part 2  of the 
tutorial it comes to a point i need to insert a __str__ function. I add it 
like said in the tutorial and PyCharm says "Overrides Method in model" 
already.

If i keep going ignoring that, i keep getting errors.


-- 
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/12005821-01f0-46bd-8869-aa77cd604ea8%40googlegroups.com.


Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-13 Thread Julius Lange
Okay, thank you guys! 

I figured it out. The reason was another issue and my nooby assumtion led 
you in the wrong direction.

Sorry, thanks again
Julius



Am Sonntag, 12. Januar 2020 22:56:43 UTC+1 schrieb Julius Lange:
>
> Dear people,
>
> currently doing the django tutorial! Really enjoy it so far.
>
> I am using PyCharm, Django version 3.0.2, Python version 3.7.1.
>
> In part 2 <https://docs.djangoproject.com/en/3.0/intro/tutorial02/> of 
> the tutorial it comes to a point i need to insert a __str__ function. I add 
> it like said in the tutorial and PyCharm says "Overrides Method in model" 
> already.
>
> If i keep going ignoring that, i keep getting errors.
>
>
>

-- 
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/f8643164-0abb-4133-87f3-8f8f5b680923%40googlegroups.com.