On Sat, 2007-08-18 at 18:06 -0700, Evan H. Carmi wrote:
> Hi,
> 
> I am trying to get pygments and markdown highlighting working on my blog.
> 
> When I try and save a post that has ` in it I get an attribute error.
> 
> My models are (more beautifully here http://dpaste.com/17230/) ignore
> the _highlight_python_code part. that was from a previous attempt:

For future reference, posting a traceback and a simplified example that
demonstrates the problem is going to be more helpful. It's fairly
time-consuming to have to wade through dozens of lines of code with no
clue about where the error is occurring (or what the error really is).

General technique when you have a problem like this is to start removing
lines of code that don't make the error go away (or change at all). When
you have the simplest example possible, it's usually going to be about 5
or 10 lines long and either you will suddenly see what is wrong or you
can post it and somebody here will recognise the problem.

Don't let that discourage you from asking questions when you need help,
though. Simply remember that this is a high-volume list, so the people
most likely to get rapid responses are those who make it easiest for us
to help them. Law of the jungle (and volunteer services), for better or
worse.

Regards,
Malcolm

-- 
He who laughs last thinks slowest. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to