Hello everyone,
In my project, I have a flow like this. I have product table which is
associated with product_line table with foreign key which is associated
with brand table with foreign key. Now I have displayed all the columns of
table product in my admin site but what I want is if I click
Yes I did.
On Wed, May 9, 2018 at 2:26 PM, Pradeep Sharma
wrote:
> Did u run the command of py manage.py makemigrations?
>
> --
> 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,
Yes I did the same thing. I run python manage.py makemigrations first and
then python manage.py migrate.
On Wed, May 9, 2018 at 3:23 PM, James Farris wrote:
> To be absolutely clear, you need to make sure if you made changes to
> models.py you need to run
> $ python manage.py makemigrations
> Th
Hello Everyone,
I am trying to deploy my project using pythonanywhere. I got an error while
writing this command python manage.py migrate.
Here is attached picture of my error. Please help me solving this problem .
Thanks.
Best Regards,
Mansi Thakkar
--
You received this message because
Hello ,
I am trying to deploy my project on Heroku. I haven't created Virtual
Environment in my app. Is it necessary to have virtual environment to
install white noise and deploy my app to Heroku? Please respond me back as
soon as possible.
Thanks in advance.
--
You received this message
t; It seems your `get_ingredients()` is expecting the Product itself and
> another object (for some reason).
>
> Have you tried to remove `obj` from the parameters and use `self` in that
> function?
>
> On Tue, Apr 3, 2018 at 12:22 PM, mansi thakkar > wrote:
>
>> H
It is there in ProductIngredient.png.
On Tuesday, April 3, 2018 at 11:57:38 AM UTC-4, squal poreover wrote:
>
> I need to see get_ingredients() . To guess what's happening?
>
> On Tue, 3 Apr 2018, 21:22 mansi thakkar, > wrote:
>
>> Hello ,
>>
>> In my d
lso the function str should probably be named with double underscores
> like this: __str__ not _str_
>
> On Tue, Mar 13, 2018 at 5:27 PM, mansi thakkar > wrote:
>
>> Hello ,
>> Here is the attached files of my output and my error and my models.py
>> file. I have
8 matches
Mail list logo