Django supports many-to-one relationships -- the foreign keys live on
the "many", and point to the "one". So, in a simple app where you
have Comments that can get Flagged, one Comment can have many Flag's,
but each Flag refers to one and only one Comment:
class Comment(models.Model):
text = m
Russell Keith-Magee wrote:
> On Mon, Jul 27, 2009 at 9:12 AM, Charlie DeTar wrote:
>> Hi,
>>
>> I'm writing a reusable Django app that interfaces with a standalone
>> javascript library, which I hope eventually to submit for inclusion in
>> Django. I
Hi,
I'm writing a reusable Django app that interfaces with a standalone
javascript library, which I hope eventually to submit for inclusion in
Django. I've run into a conundrum: the javascript library uses mixed
case naming (likeThis), where Django recommends using PEP 8 naming
(like_this).
A d
ckar...@googlemail.com wrote:
> Wow, excellent job!
>
> I've tested olwidget successful on my OpenWebGIS Project (Visit
> http://gka.homelinux.org, Login: demo demo)
>
> But I have some questions, how can I reach you?
Feel free to email me at this address. (cha...@gmail.com).
-charlie
--~--~
et".
Under the hood, it uses a standalone javascript WKT <-> OL map
translator that strips some of the magic of the current
contrib.gis.admin implementation, and a django app with some pretty
light-weight django classes to integrate with forms an