Re: bug? Issue with markdown, encoding and mysql

2008-05-21 Thread Mike Chambers
om/documentation/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

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() >

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

placing querydict in session wipes all session variables

2008-05-13 Thread Mike Chambers
I have been trying to track down and issue, and I think I may have discovered a bug. However, before I log it, I wanted to post here and ask what the expected behavior is. I am using a pretty recent build. The issue is that it appears trying to store a QueryDict (request.POST, or a copy of a