Python Workshop the Edge - django

1,061 views

Published on

2006年4月にPythonWorkshop the EdgeでDjangoについて話した時のスライドです。

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,061
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide






































  • Python Workshop the Edge - django

    1. 1. TEMPLATE Django Django and the Django logo are registered trademarks of Lawrence Journal-World.
    2. 2. • • • {% for entry in entry_list %} <div class=”entry”> <h1>{{ entry.title|capfirst }}</h1> <p>{{ entry.body }}</p> </div> {% endfor %} Django and the Django logo are registered trademarks of Lawrence Journal-World.
    3. 3. • • • BASE EX1 EX2 Django and the Django logo are registered trademarks of Lawrence Journal-World.
    4. 4. • • • BASE EX1 EX2 Django and the Django logo are registered trademarks of Lawrence Journal-World.
    5. 5. O/R Mapper Django ( MR ) Django and the Django logo are registered trademarks of Lawrence Journal-World.
    6. 6. • • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    7. 7. from project.app.models import Model list = Model.objects.filter(**kwargs)[:10] obj1 = Model(**kwargs) obj1.save() // obj2 = Model.objects.get(pk=x) obj2.y = z obj2.save() // Django and the Django logo are registered trademarks of Lawrence Journal-World.
    8. 8. • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    9. 9. FORM Django Django and the Django logo are registered trademarks of Lawrence Journal-World.
    10. 10. • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    11. 11. • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    12. 12. • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    13. 13. AJAX Django Django and the Django logo are registered trademarks of Lawrence Journal-World.
    14. 14. • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    15. 15. • • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    16. 16. Django and the Django logo are registered trademarks of Lawrence Journal-World.
    17. 17. Django Django and the Django logo are registered trademarks of Lawrence Journal-World.
    18. 18. • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    19. 19. • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.
    20. 20. • • • • Django and the Django logo are registered trademarks of Lawrence Journal-World.

    ×