Re: Admin 500 Error

2008-09-08 Thread Malcolm Tredinnick
On Mon, 2008-09-08 at 16:59 -0700, Bret W wrote: > I can only get this error to show up if DEBUG is set to False, Because that's when Django is not going to use the debugging page, but rather display your 500 template. When DEBUG=True, you will see the nice debugging page, but that's for develo

Re: Admin 500 Error

2008-09-08 Thread Bret W
On Sep 8, 8:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Because that's when Django is not going to use the debugging page, but > rather display your 500 template. When DEBUG=True, you will see the nice > debugging page, but that's for development purposes, not for general > production u

Re: Admin 500 Error

2008-09-08 Thread Bret W
Sorry to post yet again. Two things I forgot to mention -- this error only happens on the admin home page and all of my INSTALLED_APPS should be valid and seem to be functioning correctly. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Admin 500 Error

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 9:31 PM, Bret W <[EMAIL PROTECTED]> wrote: > > When DEBUG = True, the admin loads just fine. > > My problem is that I can't get the admin to fail when debugging is > turned on, so I can never see the helpful Django debugging page. > > Further, I don't believe any objects are

Re: view.py and base.html problem

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 9:56 PM, TameR <[EMAIL PROTECTED]> wrote: > my test app code help base.html and DateField view > > [snipped] Please post config files and code, etc. on someplace like dpaste.com. They can't be read properly in email. If there was a question here, I didn't see it. W

Re: view.py and base.html problem

2008-09-08 Thread TameR
settings.py http://dpaste.com/76851/ admin.py http://dpaste.com/76852/ view.pyhttp://dpaste.com/76853/ models.py http://dpaste.com/76854/ urls.py http://dpaste.com/76855/ On 09.Eyl.2008, at 05:07, Karen Tracey wrote: > On Mon, Sep 8, 2008 at 9:56 PM, TameR <[EMAIL PROTECTED

Re: MySQLdb + AMD64

2008-09-08 Thread Martin Diers
Perhaps you should direct this to a MySQL list somewhere? This in not a Django question. On Sep 6, 2008, at 2:43 PM, TheIvIaxx wrote: > > After searching around for a bit for a build of MySQLdb, i have found > that i will probably need to build the module for AMD64 on windows. > Is there a gu

Re: view.py and base.html problem

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 10:12 PM, TameR <[EMAIL PROTECTED]> wrote: > settings.py http://dpaste.com/76851/ > admin.py http://dpaste.com/76852/ > view.pyhttp://dpaste.com/76853/ > models.py http://dpaste.com/76854/ > urls.py http://dpaste.com/76855/ > Better...but I still don

Re: view.py and base.html problem

2008-09-08 Thread Martin Diers
It's rather hard to help you when we don't know what is not working for you. What is the error? What doesn't work? On Sep 8, 2008, at 9:12 PM, TameR wrote: > settings.py http://dpaste.com/76851/ > admin.py http://dpaste.com/76852/ > view.pyhttp://dpaste.com/76853/ > models.py ht

./manage.py shell questions

2008-09-08 Thread chiggsy
Hi all, I have some questions about the shell I get from manage.py shell: When i run that command, I get IPython, which is good, but when i check my namespace it is empty. Is this supposed to happen? Is this command not supposed to load django, and my settings etc when i run it? All it seems

Re: ./manage.py shell questions

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 11:02 PM, chiggsy <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have some questions about the shell I get from manage.py shell: > > When i run that command, I get IPython, which is good, but when i > check my namespace it is empty. Is this supposed to happen? Is this > comm

Re: cannot import name entrys

2008-09-08 Thread James Bennett
It seems you're trying to take a Django application which was written three releases cycles (or more) ago (since the syntax in some of your code samples screams out that it's from an app written against 0.90 or 0.91) and attempting to simply fix it piecemeal to run on 1.0. Speaking from experience

More urlresolver.reverse() issues ...

2008-09-08 Thread catsclaw
Hey all -- I just can't get the urlresolvers.reverse() to work, and I think I found a bug in it. I have a "logout" method defined in two files, a users.py file and a home.py file. There's also two views mapped in the urls.py file, a "myapp.users.logout" and a "myapp.home.logout". In my c

Re: ./manage.py shell questions

2008-09-08 Thread chiggsy
Excellent. I am now Illuminated ( a bit more anyway ) Thanks! On Sep 8, 11:15 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 8, 2008 at 11:02 PM, chiggsy <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I have some questions about the shell I get from manage.py shell: > > > When i ru

Re: More urlresolver.reverse() issues ...

2008-09-08 Thread Malcolm Tredinnick
On Mon, 2008-09-08 at 20:34 -0700, catsclaw wrote: > Hey all -- > >I just can't get the urlresolvers.reverse() to work, and I think I > found a bug in it. I have a "logout" method defined in two files, a > users.py file and a home.py file. There's also two views mapped in > the urls.py fil

CRUD with forms from models usin ModelForm?

2008-09-08 Thread Efrain Valles
Hello all, I have a basic question, I am currently adding new items using a form that is generated using ModelForms, I have html for the form I need using {{ form.as_table }} in the html. Now I am trying to do CRUD for data update and I was wondering if I could use the same form generated with Mo

Re: More urlresolver.reverse() issues ...

2008-09-08 Thread catsclaw
On Sep 8, 10:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Can you please show the URLConf lines that are involved. If the final > files are included from some higher up urls.py files, please include the > lines that do the including. No problem, although I doubt it'll be very illuminati

<    1   2