Have you tried b.haveone.all()?
On Sat, Jun 2, 2012 at 12:36 AM, Thomas Lockhart wrote:
> I've got two models with one having a many-to-many relationship with the
> other:
>
> class A(models.Model):
> name = models.CharField("name")
>
> class B(models.Model):
> haveone = models.ManyToManyField(
https://docs.djangoproject.com/en/dev/topics/db/queries/#many-to-many-relationshipsfor
more information. (Unless I read your question wrong :))
On Sat, Jun 2, 2012 at 4:15 AM, Kurtis Mullins wrote:
> Have you tried b.haveone.all()?
>
>
> On Sat, Jun 2, 2012 at 12:36 AM, Thomas Lockhart
> wrote:
>
> Hi Kenneth,
The good news is the problem is solved. A friendly chap in stackoverflow
actually bothered to look into it.
The problem is as simple as the translation files couldn't be found. For
some odd reason the important information about how Django locates them is
at the very last se
On Sat, 2012-06-02 at 02:58 -0700, Houmie wrote:
> The good news is the problem is solved. A friendly chap in
> stackoverflow
> actually bothered to look into it.
>
> The problem is as simple as the translation files couldn't be found.
> For
> some odd reason the important information about how
Hi Kurtis!
Thanks for the quick reply.
Anyway, me and my web dev are both using repository now to update our
files.. from there (i guess) we will access and pull the files through
SSH(?)
Might try to ask over Stackoverflow.
Thanks so much, Kurtis!
--
You received this message because you are
Hi,
i haven't tested the code and never used dojo before, but sth. like
this should work:
var source1 = new dojo.dnd.Source("itemListNode");
var source2 = new dojo.dnd.Target("selectedListNode");
dojo.connect( source1, "onDndDrop",
function(source, nodes, copy, target){
//gather items
On 12-06-02 1:15 AM, Kurtis Mullins wrote:
Have you tried b.haveone.all()?
Yes. Simplemindedly I wanted to try
B.haveone.all()
If I understand your suggestion, it would require iterating on instances
of B to find all instances of A mentioned in B.
that would be something like
for b in B.ob
On Sat, Jun 2, 2012 at 7:14 AM, Tim Chase wrote:
> On 06/01/12 09:17, Subhranath Chunder wrote:
> > (Given the fact that the server is deployed in Amazon EC2
> > Singapore location, as m1.xlarge with all it's network, memory
> > constrains in place)
>
> A couple of the other aspects that occurred
Hi,
this page
https://code.djangoproject.com/wiki/ServerArrangements
seems a little outdated. Is this still the main source for listing, how to run
django in production?
1. I thought mod_python would be deprecated (a hint would be useful)
2. Gunicorn [1] is missing (has native django support) s
On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote:
>
> On Jun 1, 10:47 am, cmac0tt wrote:
> > git://github.com/cmac0tt/wikicamp.git
>
> Some web-browsable link would have been more helpful (sorry, I'm not
> going to clone your repo).
>
I think that's just https://github.com
Have you considered running under a virtualenv and pip installing
exactly what you need?
On Fri, Jun 1, 2012 at 5:28 PM, Aaron C. de Bruyn wrote:
> I am not a Windows developer--but I was recently asked to port a very small
> Django app (so it could be run locally using the dev server) on Windows
Hey everyone,
I've been asked to create a CRM tool using Django. Just wondering what
route I should take. Would it be wise to start from scratch? Should I
play around with Django admin and mess around with that? I've looked
at the django-crm project, has anyone had any experience with that?
Any h
https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/#using-a-subset-of-fields-on-the-form
has a highlighted note about this very issue. The way they recommend is:
(based on #1 below)
initial_notification = Notification(user=self.request.user, board=...,
post=...)
form = Notifi
On Jun 1, 12:58 pm, Jani Tiainen wrote:
> > Hello. The user connecting to Oracle is an ordinary user and needs to
> > prefix all tables with the schema name.
> > I've tried crafting Meta.db_table like so:
> >http://cd-docdb.fnal.gov/cgi-bin/RetrieveFile?docid=3156&version=1&fi...
>
> > But I get e
On Sat, Jun 2, 2012 at 11:53 PM, Henrik Genssen
wrote:
> Hi,
>
> this page
> https://code.djangoproject.com/wiki/ServerArrangements
> seems a little outdated. Is this still the main source for listing, how to
> run django in production?
I wouldn't describe it as the main source of anything. I wa
15 matches
Mail list logo