Part 2: Web Development With Python

You can access this book in different file formats that are optimized to give you a great reading experience, no matter which device you are using. The options are as follows:

DRM-free PDF optimized for reading on tablets and computers:

ePub version for e-reader devices and phones/tablets:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Avatar image for Aqhail Mihailov

Aqhail Mihailov on April 17, 2020

Hello, i had an error in django ecommerce. When i fire up server, in browser, i got an error “Reverse for ‘contact’ with arguments ‘()’ and keyword arguments ‘{}’ not found. 0 pattern(s) tried: []” (i just copied base.html and index.html from github templates). Then i delete <div class=”container-narrow”> in base.html ,and it works as shown in page 564 (RealPythonPart2.pdf).

Avatar image for Aqhail Mihailov

Aqhail Mihailov on April 20, 2020

there is one more mistake on page 572 - in contact/views.py request.method must be ‘GET’ not ‘POST’(as written in book) if request.method == ‘GET’: form = ContactView(request.GET) and in templates/contact.html - we must change in <form> method to “GET” <form action=”.” method=”GET” enctype=”multipart/form-data”> {% csrf_token %} {{ form.as_p }} <br> <button type=”submit” class=”btn btn-primary”>Submit</button> </form>

I’m wondering, why the content of book is looking so charade. I have not so much time to unravel basic content. It upsets

Avatar image for piotrmstaniszewski

piotrmstaniszewski on April 23, 2020

Hi guys, @Tw1que & @Aqhail Mihailov is anyone answering your questions?

Avatar image for Tw1que

Tw1que on April 25, 2020

@piotrmstaniszewski I have not had a reply yet.

Avatar image for Saoirse

Saoirse on May 29, 2020

Has anyone figured out how to get help with this course?

Avatar image for katharinaannawilding

katharinaannawilding on July 2, 2020

The link on page 36 (eepurl.com/xnT3b) does not work, i.e. it redircts to mailchimp.com

Avatar image for mdnauman

mdnauman on July 8, 2020

I am on trying to automate the deployment using Fabric as given on page 258 of the RealPythonPart2 book but it is not working. I have installed latest Fabric 2.5 and using Python 3.8.3 on MAC and also my default shell is ZSH. But when I run “fab” command it uses “bash” and can’t find python file. Can you please help me how to configure Fabric to use ZSH instead of BASH?

Avatar image for mdnauman

mdnauman on July 10, 2020

Hey guys,

In case it helps someone, I was able to solve the issue by installing fab3 which seems to be unofficial version of Fabric but it workes fine.

Avatar image for knetheiner

knetheiner on Jan. 5, 2021

def flash_errors(form):
    ...

page 167 in book 2. When and how is this function called?

I also don’t get the point about the verification on the forms side. Why are not all failed verifications displayed to the user.

Example:

entering 01.01.2021 instead of 01/01/2021 displays this field is required instead of wrong format.

Avatar image for Niko

Niko on May 4, 2021

Hello guys,

Has anyone got any info on when the revised Part 2 of this course will see the daylight?

You must own this product to join the conversation.