-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Wilson schrieb: > I'm working on a django view for my office's homemade ticket-based > workflow system. > > I have a view that shows all tickets assigned to each employee. > > I also have a view that shows all tickets attached to parent tickets. > > I want to define just once how to render any arbitrary lists of > tickets into HTML, and then use that same operation in both places. > > In TurboGears, I would build a custom widget, and then use that inside > my template. I suspect that the Django community has a similiar tool > available, but I haven't found it yet. > > All comments are welcome. > > Matt > > > > >
http://www.djangoproject.com/documentation/templates/#include this might be what you search for. greetz Paul Rauch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iQIVAwUBRsL+gBG67lyyQrltAQLthBAAoseCmf/kmWbmdeLyPyHbjMq5hRPgzGZX uA9agFaRMoE/WBBtuTAjRYr6I1faypC0hb1EwaFzr6YURPe95FIZw+sgH7PkQ80K 9p8cAsS6hL8U2qiGB2mM+f7tMrskx+LGzoP6wfuA3WOyGMcXsJK5dIE6zEotXqgO MxRvBcwRYIDYHwcJmGUsLfinLJYR/+AJFEAstAKsmCw/KOPtm6idpw/zVhlm6zRU 2b/jIQ3+N1Cq6bXCQaM9slM4JcUJajTj0C92J7dsci2ndPSLLuB40g9mnB9s0fsx GpNXFSWVUecHuBqHV1kWYHhIZ+3ThrlsSJWgJwsUVlsc1o8SE6mjRkJ7GwYBxIMw ez/MRMIpHXLFK6+5UvzixPZOCkBv4p6dbBK3MzujmlNUpAugD03n9+jbjDlVOpcJ XO4lJmHA9LlUXP7yvrjw+pR1x7q968kebr5WwfIa6oIdpTROthR4PRSAy75mKchd xE7hOtuSW9eOeXnqiDPwdegwmwQ4N/IO7ByKy+Epjpi2w5VgPoAftLCDnmqNUfEm o6MFx6XYPj1l8ymasuyZVZ3DOVLcOnNVZbFMHja4lVSU4nFvqvRmfzB5ed2AYwcx Qdb527D0ME4oy9GxswWLadfr/24K8ThPdIAkHhdeUp04k15yPN4+XSxalYZyNrv3 5Cko7QWH0ow= =Xodb -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---