Re: bug? Issue with markdown, encoding and mysql

2008-05-21 Thread Mike Chambers
umentation/unicode/ > > Also, why are you importing markdown from the template filter? Why not > just import markdown directly? > > On Wed, May 21, 2008 at 2:11 PM, Mike Chambers <[EMAIL PROTECTED]> wrote: >> I just ran into an issue where i was getting unicode errors wh

bug? Issue with markdown, encoding and mysql

2008-05-21 Thread Mike Chambers
I just ran into an issue where i was getting unicode errors when trying to insert data into mysql (via a model). I had this code: -- from django.contrib.markup.templatetags.markup import markdown def save(self): self.content_html = markdown(self.content_source)

Re: placing querydict in session wipes all session variables

2008-05-13 Thread Mike Chambers
I logged the issue here: http://code.djangoproject.com/ticket/7233 and uploaded a test case. mike Jeremy Dunck wrote: > On Tue, May 13, 2008 at 10:24 PM, Mike Chambers <[EMAIL PROTECTED]> wrote: > ... >> request.session['form_post_data'] = request.POST.copy() >> reque

Re: placing querydict in session wipes all session variables

2008-05-13 Thread Mike Chambers
Nightly build from subversion. Ill put together a simple test. When posting a test, should I post an entire project, or just the relevant parts? mike Jeremy Dunck wrote: > On Tue, May 13, 2008 at 10:24 PM, Mike Chambers <[EMAIL PROTECTED]> wrote: > ... >> request.sessi