tango_with_django_2
tango_with_django_2 copied to clipboard
Django 2 and Python 3: Tango With Django 2 Book Repository
I just bought your book and started to go through the first steps. I setup a small Raspberry Pi as a platform and have everything up and running. I got...
I've not realy read all book, but i guees that's it pretty cool for new djange developers and it can be good idea to update it
class view should be imported from `views` module or we need to add -- `from rango.views import MyRegistrationView`
In the **Creating a new Django App** section, there is a typo in the file name, it reads `view.py` but should read `views.py`: ```diff -5. In your app's `view.py`, create...
Hello Dr. David Maxwell and Dr. Leif Azzopardi! In Chapter 5, section `Telling Django about Your Database`, you've given us some examples about other database engines supported by Django. In...
Hi, As I was reading and implementing the book, I noticed a small typo on pages 275 and 276 (images are attached). We want to display the list of users...
On Django 2.2 this doesn't work as expected: “Don’t forget to add in the URL mapping, into rango/urls.py. Update the urlpatterns by adding in: `path('like$', views.like_category, name='like_category'),” ` I read...
In the recent version of the book the code for this functionality doesn't include the last return line (which is visible in the code on github): `return render(request, 'rango/cats.html', {'cats':...
at rango/views.py `def show_category(request, category_name_slug): ` `context = { ` ` 'category_name_slug': category_name_slug, ` ` }` `...` and then , the template: category.html ` Add Page` use category_name_slug is better...