Wnat u want ask to database ?
Example
X = yourmodel.objects.all()
Context = {‘x’:x}
Return render (request,your.html,context)
3 Şub 2019 Paz, saat 17:02 tarihinde Mohan Goud <[email protected]>
şunu yazdı:
> django
>
>
>
> On Sun, Feb 3, 2019 at 7:30 PM Birol Demirtaş <[email protected]>
> wrote:
>
>> Django ? Or ?
>>
>> 3 Şub 2019 Paz, saat 16:59 tarihinde Mohan Goud <
>> [email protected]> şunu yazdı:
>>
>>>
>>>
>>> students list is in database. I have to search based on section,
>>> department and year and sort them in ascending order. can any one help me
>>> on this through any video links or any other. --
>>> 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 post to this group, send email to [email protected].
>>> 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/CAB29Dk%3D9sLASp9Gr4q73qzh8ozw-ecYukUZZ62WkC8XKXtMDZA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAB29Dk%3D9sLASp9Gr4q73qzh8ozw-ecYukUZZ62WkC8XKXtMDZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/CAN908so%3DSjsqv%2B%2BhA5Kw3W7tctGX%3D5WbtC4t9ZuwnsnZg92Xww%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAN908so%3DSjsqv%2B%2BhA5Kw3W7tctGX%3D5WbtC4t9ZuwnsnZg92Xww%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/CAB29DkneL1r4QeznCQG-4%2Bg7cSEnU5kcpsE_mowj0Y0pzN3Sgg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAB29DkneL1r4QeznCQG-4%2Bg7cSEnU5kcpsE_mowj0Y0pzN3Sgg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To post to this group, send email to [email protected].
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/CAN908soXT5KTN4eB7vhqX4GOdjdxK6nRPOsUT1m3Zh3L2Kv3Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.