Re: Many2Many question about Database API

2007-05-16 Thread Ben Jones
's more familiar with sqlite than I am. This is actually the first time I've ever used it for anything. -- -Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Many2Many question about Database API

2007-05-16 Thread Ben Jones
ttp://www.djangoproject.com/documentation/db-api/#lookups-that-span-relationships . . . only apply to One-to-many relationships? Thanks for any help. BTW, I'm using 0.96 -- -Ben --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Error creating super user

2007-05-09 Thread Ben Schwarze
should run "python manage.py syncdb" again. This will prompt you to create a superuser. Cheers, Ben On May 9, 8:25 am, Kabads <[EMAIL PROTECTED]> wrote: > I'm using SVN django (checked out a couple of days ago) to work my way > through the new DJango book. Chapter six of the book d

Re: Noob: How to bind objects to specific users?

2007-03-30 Thread Ben Stahl
Those solutions make sense, that was just what I was looking for, thanks! That should be in the docs somewhere... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Noob: How to bind objects to specific users?

2007-03-29 Thread Ben Stahl
Hi, I think I understand modeling, and user/session authentication. But, what I don't understand is how to use these together to tie some object instances (stored in the database) to a specific user. For example, I want each authenticated user of the application to have a single instance of my

Forms vs. Models: Redundant?

2007-03-27 Thread Ben Stahl
Aren't you duplicating information with the newforms, violating the DRY principle? What I mean is, aren't we separately creating most or all of the same fields for a form as for the model whose data will be bound to the form? Why can't a form be instantiated automatically when passed a model

Admin Site Fails to Load with Attribute Error

2007-01-06 Thread Ben Lamb
struggling to find it and would welcome any suggestions. Thanks, Ben Lamb. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: how to make more rows appear in inline-tabular admin interface?

2006-12-27 Thread Ben Collins-Sussman
Thanks so much, works perfectly! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email

how to make more rows appear in inline-tabular admin interface?

2006-12-27 Thread Ben Collins-Sussman
I've made a simple database for cooking recipes, whereby every Recipe object contains a number of Ingredient objects. In particular, within my Ingredient model, I have the line recipe = models.ForeignKey(Recipe, edit_inline=models.TABULAR) This is great, because the generated Admin interface

Re: java applet won't load

2006-10-18 Thread Ben Slavin
still referencing all of the correct files. If you still think it's Django's fault, save the HTML to a file and serve it up in the same location as a static page... see if you still have the problem. --Ben --~--~-~--~~~---~--~~ You received this message becau

Re: Duct tape

2006-07-21 Thread Ben Bangert
b framework. Cheers, Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email

Can't change '[algo]$[salt]$[hexdigest]' passwords!!!

2006-02-20 Thread Ben Vinger
00 Thanks Ben ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com --~--~-~--~~~---~--~~ You received this message b

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
s for using it since our setup is rather different than Rails. Anyone interested in taking a look at this, and figuring out how to slot it into Django, feel free to contact me. Cheers, Ben

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
I'd think the most reasonable approach would be to have the frameworks reference the module. Myghty doesn't require an API, as the names are just imported and attached to a template global helper object, ie, <% h.observe_field(.) %>. TurboGears may likely require a bunch of API's for the

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
For those concerned about the fact that these helpers use ProtoType and Scriptaculous, it should be noted that Mochikit 1.3 will include equivalent functionality. This should make it seamless to use Mochikit instead with no or minimal changes to the helper functions. There's several people now

Re: Connecting to database via Unix sockets

2005-11-20 Thread Ben Butler-Cole
. If you're using all the defaults it's sufficient to leave DATABASE_HOST and DATABASE_PORT as empty strings. Ben

<    1   2   3   4