Re: Django/Apache on Ubuntu - admin page looks weird

2009-01-09 Thread djangofett
Thanks a lot guys, that was it, should have looked at the official documentation more closely. On Jan 8, 9:27 pm, elithrar wrote: > Just in case you miss it - and this is the method I'd suggest, as it > makes updating easy: > > > Create a symbolic link to the admin media files from within your d

Django/Apache on Ubuntu - admin page looks weird

2009-01-08 Thread djangofett
Hi, I am trying to get Django running on an Ubuntu server with Apache. Everything seems to be installed fine (mod_python, plus MySQL with MySQLdb python bindings), and I am running the main tutorial on the Django site. I am doing the second part of the tutorial, with the admin site, and noticed th

Re: __init__() got an unexpected keyword argument 'max_length'

2007-12-13 Thread DjangoFett
Found the problem. There was another copy of django in the python framework directory (this was all in OS X). I deleted it and 'ln'd my trunk directory in its place. Everything seems to work well now. Thanks to Magus on #django. Randall On Dec 13, 2:27 am, DjangoFett <[EMAIL PROT

__init__() got an unexpected keyword argument 'max_length'

2007-12-12 Thread DjangoFett
I get the above error when running an application via apache2. not when i use the built in 'python mange.py runserver' command. I've done a svn update with the current trunk both directly into my site-packages directory and to another directory with an 'ln' link inside the site-packages directory

Re: extends isn't working

2007-10-22 Thread DjangoFett
ll be seeing you on here a lot with my new found love of Django! Randall On Oct 22, 12:54 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 10/22/07, DjangoFett <[EMAIL PROTECTED]> wrote: > > > > > I was hoping for more of a tree structure of extensions

Re: extends isn't working

2007-10-22 Thread DjangoFett
ethods to put data into that index. Long story short, it's very much akin to templated classes. Randall Prince On Oct 22, 12:10 pm, DjangoFett <[EMAIL PROTECTED]> wrote: > How, then, can i extend multiple code sources off of my index.html > file? > > I'm loo

Re: extends isn't working

2007-10-22 Thread DjangoFett
like reverse logic to me. On Oct 22, 11:54 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 10/22/07, DjangoFett <[EMAIL PROTECTED]> wrote: > > > > > def Index( request ): > > > t = loader.get_template( 'index.html' ) > > I thin

Re: extends isn't working

2007-10-22 Thread DjangoFett
I misesd the return line... return HttpResponse( t.render( c ) ) On Oct 22, 11:45 am, DjangoFett <[EMAIL PROTECTED]> wrote: > Sorry for the vagueness in my post. > > The problem is that there are no errors. The output is just > unexpected. The text and code I put into the fil

Re: extends isn't working

2007-10-22 Thread DjangoFett
Sorry for the vagueness in my post. The problem is that there are no errors. The output is just unexpected. The text and code I put into the file which is index's extension doesn't show up. I put in a default value between the index.html block. Then I've tried to extend the block with an alternat

extends isn't working

2007-10-22 Thread DjangoFett
I'm very new to the whole Django framework, but have a bit of experiance in Python. I'm doing some of the tutorial work and extending to my own project slowly. However, I'm having a MAJOR problem when using the TEMPLATE_DIRS. In the settings file I have set where all my template HTML files are to