[513] Learn Django: Adding tags to the wiki (3/3)
in series: Learn Django: Create a Wiki in 20 minutes
video tutorial by Siddhi
Name:
[1982] Siddhi
Member:
32 months
Authored:
4 videos
Description:
I'm an entrepreneur from Chennai, India and I have my own company `Silver Stripe Software <http://www.silverstripesoftware.com>`_ where I develop tools for agile software development using Python and ...
Our authors tell us that feedback from you is a big motivator. Please take a few moments to let them know what you think of their work.
Following on from the previous two screencasts, we add the ability to create and edit tags for wiki pages. In the process, we'll see how to create relations between Django model objects using the ManyToManyField. With a few lines of code, and thirty minutes of time, we'll have a wiki with tags.
Video Tutorials related by tag:
Got any questions?
Get answers in the ShowMeDo Learners Google Group.
Video statistics:
- Video's rank shown in the most popular listing
- Video plays: 2937 (since July 30th)
- Plays in last week: 18
- Published: 25 months ago
Thank-yous, questions and comments
If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?
You may also want to see our ShowMeDo Google Group to speak to our active users and authors.
it's a great video,i like it!
thank you
very informative and enjoyable
thanks
It would really help if you did more of these video tutorials. Dealing with creating admin sites and user authentication.
Also, does Django have something that can help with mutiple uploads of files, specially media files like .jpg?
Thanks much, your tutorials really helped in understanding the concepts of django, specially since I am not a programmer.
I viewed all 3 tutorials on how to create a wiki system. I enjoyed them a lot, very useful! Thank you so much!
how about refactoring?
it is an awesm wrk......grt goin.........keep it up
Thanks, I am learning Django and your videos are great for me.
But they aren't finished. The third one doesnt finnich correctly.
Do you have the full video?
Thanks.
From Spain.
Thanks, I am learning Django and your videos are great for me.
But they aren't finished. The third one doesnt finnich correctly.
Do you have the full video?
Thanks.
From Spain.
Watched all three videos. It was very informative since I am just starting to grow my interest in python/django. It really motivates to seek more knowledge. Thank you.
Great work. Ty for teaching
hey siddhi
my name is keith and i am a student in ireland and i have to do a project and i was looking at your videos and they are great they showed me alot for my project but there is one thing missing and i was wondering if you could help me. and its with semantic wiki's.
with my project the main thing is too look at semantic wikis and have my own wiki up and running and you with your videos have helped me so much i was just wondering if you knew how to put it into the wiki that you have already written?
oh and one other question i noticed that in the three different videos that you use different programs to wirte it i was going to start writing my own wiki with netbeans do you know if that would work??
thank you so much for you time
keith
hey siddhi
my name is keith and i am a student in ireland and i have to do a project and i was looking at your videos and they are great they showed me alot for my project but there is one thing missing and i was wondering if you could help me. and its with semantic wiki's.
with my project the main thing is too look at semantic wikis and have my own wiki up and running and you with your videos have helped me so much i was just wondering if you knew how to put it into the wiki that you have already written?
oh and one other question i noticed that in the three different videos that you use different programs to wirte it i was going to start writing my own wiki with netbeans do you know if that would work??
thank you so much for you time
keith
hey siddhi
my name is keith and i am a student in ireland and i have to do a project and i was looking at your videos and they are great they showed me alot for my project but there is one thing missing and i was wondering if you could help me. and its with semantic wiki's.
with my project the main thing is too look at semantic wikis and have my own wiki up and running and you with your videos have helped me so much i was just wondering if you knew how to put it into the wiki that you have already written?
oh and one other question i noticed that in the three different videos that you use different programs to wirte it i was going to start writing my own wiki with netbeans do you know if that would work??
thank you so much for you time
keith
hey siddhi
my name is keith and i am a student in ireland and i have to do a project and i was looking at your videos and they are great they showed me alot for my project but there is one thing missing and i was wondering if you could help me. and its with semantic wiki's.
with my project the main thing is too look at semantic wikis and have my own wiki up and running and you with your videos have helped me so much i was just wondering if you knew how to put it into the wiki that you have already written?
oh and one other question i noticed that in the three different videos that you use different programs to wirte it i was going to start writing my own wiki with netbeans do you know if that would work??
thank you so much for you time
keith
This is a great lesson that introduces and clarifies many important concepts in django.
Awesome tutorials so far! Could you provide lessons for user creation, authentication, and permissions (i.e., for editing/creating pages)?
Very good tutorials, everything was explained very well. A++
very helpful and instructive. please go ahead with some more videos.
thank you very much.
Great series. I will use your examples in my work at the office, and it will save me a lot of time.
A thousand thanks!
Part of the learning experience is making this work in Django 1.0. Minor tweaks here and there to make most of it work (I can't get wikify to work yet on 1.0 but it is not important for me at this point). About to finish this third video on tagging. Thank you so much Siddhi. This is a generous contribution, and it speaks well of the Python/Django community!
A viewer, hoamon, has made the code available. Check this comment - http://showmedo.com/videos/video?name=1100020&fromSeriesID=110#comment3334
The videos are great, but It would help me a lot if I could go back and look at the code on my own after I watch them. Could you please let me know if there is a place to download the completed project?
Thank you very much for this screencast. I hope you'll make some more on this series. As others have mentioned, I find that the live feel with typos is really a positive feature of this screencast. If ever you feel that you should edit/redo some parts to correct such errors: DON'T! :-)
This series gave me a real appreciation of django, and many new ideas for enhancements to a project I had in mind.
have you implemented the pinax project with django? would you consider making a screencast showing the setup of pinax? Also I am interested in watching you incorporate css and other design elements into your wiki app. Thank you so much for your great screencasts.
Travis
Fantastic, I was just about to start off on a project after doing the basic Django tutorials. I ould have ended up writting lots of the functionality myself. You tutorials have saved me loads of time introducing me to lots of useful Django concepts. ManyToMany is briliant. I was doing that by hand until now!
I really loved the series of 3 videos. Thanks to you i have begun developing small websites using the django framework.
This is excellent... thank you so much for the tutorial!
cheers from Brasil
Thank you for the short introduction about the way to use django to create web applications. Your presentations openend me a view to what django in combination with python is able to. I was in Chennai some times and it was nice to hear the funny sounds from the background (horns and noices from the lorries).
Review of Learn Django: Adding tags to the wiki
I stumbled into this site while trying to figure out django. I've watched all 4 screencasts in order. These screencasts are superb. The author has a kind of self-deprecating low-key style which adds to the sense of a share discovery. Even working around the bugs and other minor snafus held my interest.
The series of wikicamp-related videos gently yet clearly build up a small example site. And in the process succeed very well in demonstrating how to use django.
It is clear that the author has tremendous knowledge and has worked very hard to crisply and clearly describe his subject matter.
I really like these screencasts and highly recommend them to others.
I can only hope that the author has sufficient time and financial renumeration to add more screencasts. Future topics might include using the Admin app. Or using functionality from the Admin app in other apps. Or connecting a Django App to google app engine. Another idea might be to develop a series of screen casts showing how to build up a real deployed application that works with unicode, payment transactions and flash.
Thanks,
FK
Awesome, this series is very informative, I got my wiki example up and have since built upon it.
Thank you so much!
Please do more!
anonymous 32 - did you remember to include the reference to "tags" in the render_to_response function call parameter list?
i.e.
return render_to_response("view.html", {"page_name": page_name, "content": markdown.markdown(content), "tags": tags})
this was an error I made initially, and this fixed me up.
Siddhi - thanks for the casts - they were superb. I look forward to follow up stuff.
Siddhi, thanks..the error is solved..but I just can't see tags when viewing the appropriate page...
@anonymous (#30): You need to delete the database and then do manage.py syncdb after changing the models to create the new tables
very good viedos Siddhi. But I'm stucked because when i tryed to view tags I get an 1146 "Table 'wiki.wiki_page_tags' doesn't exist" error at line 9 in template view.html :( I just did exactly as u did but still not working. I had other problems but I just figure them out
(few modifications etc.) but this one is harder...
Review of Learn Django: Adding tags to the wiki
I was struggling with this sort of thing for a while, and came across this film (indeed, this website) somewhat by mistake.
The film answered my questions and taught me things that I didn't even realize I had to learn!
The author is quite witty, and that helps a great deal. I also like the fact that the film contains programming errors (typos, really), which the author addresses in real time. This is particularly valuable, because one of the challenges in learning django (coming from ruby/rails) is learning what to do when python displays an error traceback.
Now that I've seen episode 3, I plan to go back to the earlier episodes. I'm sure that I'll learn a lot from them, and enjoy doing so.
siddhi, you've done a fantastic job of distilling a lot of great django features. *very* good work!
Great set of videos, they help to very clearly summarize what I read in the www.djangobook.com!
Awesome for jumpstarting on django!!
great work Sid!
Review of Learn Django: Adding tags to the wiki
I have been using Django some what in my project. This clever screen cast helped me understand Django better.
The example used in the series cover advanced topics in a simple manner.
Hi Siddhi, The video presentation is very simple and clean. I liked it very much. It is definitely very helpful for the beginners who wants to use Django. Great work. I will sure recommend this video to my friends. Thank you.
Hi Siddhi. Just a quick note to say that I've started some publicity for this video:
http://blog.showmedo.com/2008/02/16/new-django-videos-at-showmedo/
which goes out to the Planet Pythons and I aim to give you some more coverage later in the week.
Ian.
Three bugs i noticed while watching this third screencast:
1. Tags are not escaped/validated. (html injection)
2. You can't delete tags once added to a page. (for tag in tag_list: page.tags.add(tag))
3. You'll get an exception if the tag doesn't exist when you're trying to view it. (Tags.objects.get() without try/except)
This was a really good Django tutorial. I've recomended it some of my friends.
Thanks for the comments!
@hoamon: very cool of you to make the code available, I'm sure it will help a lot of the viewers.
i make a practise for this vedio.
my result is in http://ssvn.hoamon.info/OpenTrunk/wikicamp/
welcome to suggest any comment.
well done.
you explain this subject clearly. i hope to see your next videos(could you make a subject about version control of wiki pages??).
thank you!
hoamon
Hi Siddhi,
Great job with the screencasts! Could you please zip up the code and post it somewhere (maybe on this blog or at showmedo). Thanks and keep up the good work!
Sven
Awesome job again, Siddhi! Your explanations are very clear and understandable,
the pace is just right, the topic is interesting and the implementation is
simple enough for Django beginners like me. The lesson is well structured and
easy to follow and the voice recording is of high quality. Even your little
typos and mistakes are instructive to get a sense of potential problems and
they give a nice a "live" feeling to the recording. I can't wait to see more
episodes of your series. Great work.
*Awesome* job again, Siddhi! Your explanations are very clear and understandable, the pace is just right, the topic is interesting and the implementation is simple enough for Django beginners like me. The lesson is well structured and easy to follow and the voice recording is of high quality. Even your little typos and mistakes are instructive to get a sense of potential problems and they give a nice a "live" feeling to the recording. I can't wait to see more episodes of your series. Great work.
Nice job! (You might also point out the very good Django Tagging contributed app from James Bennett.)
At 14:28, I'd move that tags = page.tags.all() down to after the content = page.content, to keep things parallel.
Video published, thanks for contributing to ShowMeDo






