Hi Johan, I don't know if you put sometime into learning python. These imports are a way to reuse other modules that already provide some of the functionality that you are trying to achieve. To know the right module to import from and to select the right things to import, you should consult that package's documentation. Like django documentation <http://docs.djangoproject.com/en/>for imports from django.
All the best! - Manu, On Tuesday, 11 February 2014 15:56:19 UTC+5:30, joh.hendriks wrote: > > Hello all. > > I have a little question, maybe a little stupid but non the less it > keeps me busy. :-) > > I want to start making some web based apps as a hobby project. > I have no coding experience other then some basic shell scripting to get > some daily routine jobs done on my FreeBSD servers. > The first struggle I had to take is the programming language, I looked > at PHP and python, and I think my best option is Python, and with python > comes Django. > So the last weeks i have been doing some searches on google and view a > lot of tutorial video's how to start with django. > > One thing that always comes back is the import part like below > > from django.http import HttpResponse > > And here comes my question, where and how do you know what you need to > import. > What is the best way to learn al these imports? , and is there a quick > way to find the imports you need? > > Thank you for your time. > > regards > Johan > > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1bb02bb9-d284-4fbd-8a9f-0dad4a2bdd4e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.