November 2015
Beginner to intermediate
840 pages
26h 30m
English
We now understand the behavior necessary for creating webpages that interact with Django forms. In the next two subsections, we create a view based on the pseudocode we just built, followed by the creation of a URL pattern for our view.
We can now program a function view for creating a Tag object by translating the pseudocode from the end of last section into Python. Open /organizer/views.py and create a basic function view called tag_create(), as shown in Example 9.5.
Example 9.5: Project Code
organizer/views.py in 25b7d634af
23 def tag_create(request): 24 pass
We can take the pseudocode from the last section and fill in the view with comments. Our first goal ...
Read now
Unlock full access