Re: let the previous file as it is now i am doing another one and it is showing same problem

17 views
Skip to first unread message

gilwell muhati

unread,
Jul 23, 2019, 2:57:09 AM7/23/19
to Mukul Dharwala, django...@googlegroups.com
Please have a look at this tutorial on how to retrieve data from models.

You need to create a model in your models.py then use views.py to retrieve it. 
use a context in your views to pull multiple records  e.g

destinations =  Destinations.objects.all()
context = {
     'destinations':destinations
}



Regards,

Gilwell Muhati | +254 710 739 116 |

~~“The mind is its own place and in itself can make a heaven of hell, a hell of heaven…”~~John Milton


On Tue, Jul 23, 2019 at 9:20 AM Mukul Dharwala <dharwa...@gmail.com> wrote:

Ajeet Kumar Gupt

unread,
Jul 23, 2019, 7:34:40 AM7/23/19
to django...@googlegroups.com
Dear Team,

I am very new in Django, I read tutorials of Django and python but I want to start the development process with a very small application.

Like End User registration, end-user login. How to implement a little bit confused.  I need a help from your side how to start and how to implement a simple way.


Thanks

Ajeet




--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALO4FhFv53j5JMvFT%2Bgjp0bND30SkPofmtTGWJSMPmj_97u6cg%40mail.gmail.com.


--






Thanks & Regards
Ajeet Kumar Gupt
+91-9311232332

Lim Kai Wey

unread,
Jul 23, 2019, 8:13:49 AM7/23/19
to django...@googlegroups.com
To Ajeet,

I believe this tutorial may help you understand authentication implementations. It won’t ultimately be your end user registrations but it’s a basic start.

Link:

Ajeet Kumar Gupt

unread,
Jul 23, 2019, 8:50:00 AM7/23/19
to django...@googlegroups.com, limk...@gmail.com
Thanks for the prompt response.

Reply all
Reply to author
Forward
0 new messages