Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
unclefu
Jul 1, 2004
mr .shuffles
Are you doing something like {{ object.language }} in your template? If so you need to define a __unicode__ method in your Language class that returns whatever property contains the name.

unclefu fucked around with this message at 14:24 on Nov 29, 2007

Adbot
ADBOT LOVES YOU

unclefu
Jul 1, 2004
mr .shuffles
Django templates automatically escape all output now. It sounds like you need to pass that highlighted output through the 'safe' filter. Here's more info about it.

unclefu
Jul 1, 2004
mr .shuffles
I had to add this to my <Location "/"> directive:

code:
PythonPath "[r'c:\\path\\to\\djangoprojects', r'c:\\path\\to\\djangoprojects\\myproject'] + sys.path"

unclefu fucked around with this message at 15:37 on Dec 2, 2007

  • Locked thread