Re: Am I reading the tutorial incorrectly?

2005-10-11 Thread J. Davis
Brilliant! Thanks very much.

Re: Admin login Problem (not the one in the FAQ)

2005-09-01 Thread J. Davis
That did the trick. Thanks Adrian! -Jake

Admin login Problem (not the one in the FAQ)

2005-09-01 Thread J. Davis
Hello, I'm greatly enjoying this excellent project. However, I have a problem with users created through the admin web interface being able to log into the admin site. I get "Please enter a correct username and password." Even though all users have "is_active" and "is_staff" set to True. It's defi

Re: list_display = ForeignKey?

2005-08-30 Thread J. Davis
I figured out what I was missing. If you want your model to show up in the admin list page you must supply a value for all defined foreign key contraints. Not sure if that's an SQL thing (mysql did not complain about their absence) or a Django thing. Removing "blank=True" from all the foreign keys

Re: list_display = ForeignKey?

2005-08-26 Thread J. Davis
Ok, I've updated to the new Model syntax as shown below and I'm still getting "No sites matched your search criteria" in the admin page when I put a foreign key in the list_display definition. Everything works great as soon as I take "thing" out of the list_display. I've also tried adding db_col

list_display = ForeignKey?

2005-08-25 Thread J. Davis
Hi there, I'm writing my first Django app and trying to get the Admin( list_display ) to display ForeignKey names. Here's how I'm trying to do it: class Thing(meta.Model): fields = ( meta.CharField('name' maxlength=60, primary_key=True), ) class Entry(meta.Model): def __rep