actually i didn't wrote wishlist models.

On Fri, Oct 25, 2019 at 10:16 PM Shubham Mishra <[email protected]>
wrote:

> from django.db import models
>
> # Create your models here.
> class Item(models.Model):
>     Name_Item = models.CharField(max_length=20)
>     Date = models.DateField()
>
>
> On Fri, Oct 25, 2019 at 9:46 PM Tosin Ayoola <[email protected]>
> wrote:
>
>> I could share u the link to the github repo for the project if you need
>> it
>>
>> On Oct 25, 2019 5:14 PM, "Tosin Ayoola" <[email protected]> wrote:
>>
>>> Ohk cool I've done something similar to this,  but mine is a to-do list,
>>>  so the way I did my is I used a model and a Modelform the form ask the
>>> user to enter the lists and details of goals they want to achieve in a day,
>>>  then, in the view.py I check if the information entered is valid and
>>> cleaned data,  if it is I proceeded to saving it to the db, in the
>>> index.html file I use a for loop to display all the title in the db,  and
>>> when a particular title is selected,  it displays the details for that
>>> title ......  I feel if you do something similar to that you'll achieve
>>> your aim
>>>
>>> On Oct 25, 2019 12:55, "Shubham Mishra" <[email protected]>
>>> wrote:
>>>
>>>> hello,
>>>> I am Surendra Mishra , I am student currently i'm learning django.
>>>> I applied for internship , but they gave me a task if i complete then
>>>> they will consider me .
>>>> please help me to complete this task.
>>>>
>>>> mostly i have done but in the last section im fighting but i not
>>>> getting exact thing .
>>>> i have some item and in under i have wishlist button ..... my
>>>> requirement is when i click  the wishlist button for the particular item
>>>> that item must be added in the wishlist page .
>>>>
>>>> so what is the logic and what is the template page for that .
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/a4f2d8d4-a6f4-45ea-8022-538e91f1b124%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/a4f2d8d4-a6f4-45ea-8022-538e91f1b124%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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHLKn73KjBr_UMLreH_ptaEPOVUTZrFLHWx7%2BFR430Cp-MEaVQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHLKn73KjBr_UMLreH_ptaEPOVUTZrFLHWx7%2BFR430Cp-MEaVQ%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGHpP%3DXmSxFEmfDJwkjqMmJqchFzOp2gAP0010VbeBKL2CFdbQ%40mail.gmail.com.

Reply via email to