Saturday, June 29, 2019

Re: .model class not added in localhost:8000/admin

no need of return statement.
now it's working without retrun and same as per above coding without any changes
thanks for your valuable information
.


On Sat, Jun 29, 2019 at 6:31 PM Joe Reitman <jreitman28@gmail.com> wrote:
In your Destination class you have to return a string representation of the fields you to display in Admin.



On Saturday, June 29, 2019 at 7:36:17 AM UTC-5, KUMBHAGIRI SIVAKRISHNA wrote:
'Destination'  class from models.py cannot add to the http://localhost:8000/admin/  
please help me ,give if any suggestions

--
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+unsubscribe@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/bc60e0f3-7b91-4ef4-b0f4-268209fb38b6%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+unsubscribe@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/CAMM5N92K-%2BanT217jMWYdT0WDddUD%2BursBfaUwA1XmZvhPsuJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment