Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning the Django framework

Tags:

django

Django is a great framework, but after seeing a couple of learning videos I realized those people have great knowledge of the Django framework and libraries, which enable them to use any class very easily.

I just wonder how can one remember all those classes and function in an environment where IDEs are not powerful enough.

What should be the learning process?

Are there any tips or tricks to remember the Django class library?

Any suggestion would be a great help for lots of people like me.

like image 482
Software Enthusiastic Avatar asked Oct 03 '09 15:10

Software Enthusiastic


People also ask

Is Django framework easy to learn?

Conclusion. It's not easy to learn Django if you don't have a strong foundational knowledge of Python. You don't need to learn everything in Python but at least make your fundamental concepts clear in Python to start with the Django application. Focus especially on classes and object-oriented programming in Python.

How long does it take to learn Django framework?

As with any skill, learning how to master Django takes time and practice. If you already know Python and are familiar with technical concepts like terminology authentication, URL routing and API, you may be able to learn all you need to use Django in as little as two to three weeks.

How do I start learning Django?

In this tutorial you get a step by step guide on how to install and create a Django project. You will learn how to create a model where you can create, read, update or delete data. You will learn how to make HTML Templates and use Django Template Tags to insert data within a HTML document.

Can I learn Django in a week?

You can learn Django in a couple of weeks, however to become really good at Django you will need time and you will need to build projects. You can even learn Django faster by building following an end to end certification course that also helps you build a project.


1 Answers

Are there any tips or tricks to remember the Django class library?

  1. Don't try to remember every detail. Being able to search the documentation quickly is more useful IMHO.
  2. Get IPython and play with the shell.
  3. When you're searching for something, try to categorise it first (for example, you want request/response related stuff - that's HTTP, so it's likely to live in django.http; you want context containers - that's template-related, so it's probably somewhere in django.template).
  4. Being able to dig through Django's source code can be useful, too.

That's how I'm doing it, and it works pretty well.

like image 154
Cat Plus Plus Avatar answered Sep 26 '22 02:09

Cat Plus Plus