How to create complex Left JOIN in Django

2014-04-07 Thread Shoaib Ijaz
I am trying to create multi Model Left join using django Here is my model class LookupTiming(models.Model): day = models.CharField(max_length=7) time_1 = models.TimeField() time_2 = models.TimeField() class Meta: db_table = u'lookup_timing' class Streets(models.Model):

Inlines in admin

2014-04-07 Thread Emanuel
Hi all! I'm have the following models: Class A(models.Model): pass Class Z(models.Model): pass Class B(models.Model): a = models.ForeignKey(a) z = models.ForeignKey(Z) def __unicode__(self): return self.z Class C(models.Model): b = models.Fore

User constantly being logged out when using a site with 2 tabs open

2014-04-07 Thread Mark Steadman
Hi. Don't know if this is specific to Django, but my site is the only one I've experienced this with, and I don't think I'm doing anything special with session data (just using the old-school database backend). When a user logs in (in tab A) and opens a new tab (tab B) on the same domain, the c

Re: User constantly being logged out when using a site with 2 tabs open

2014-04-07 Thread Venkatraman S
Have you set any middleware that allows only one session at a time? On Mon, Apr 7, 2014 at 6:48 PM, Mark Steadman wrote: > Hi. Don't know if this is specific to Django, but my site is the only one > I've experienced this with, and I don't think I'm doing anything special > with session data (ju

Django Dynamic Formsets

2014-04-07 Thread Leandro Alves
Hi, I wonder if anyone knows of any example of django-dynamic-formsets [1] that works with Django 1.6? So far all I found on the internet are over 3 years old and they don't work with Django version 1.6. I am willing to pay for any example that works if necessary. :) Thanks in advance, Le

Re: Django Dynamic Formsets

2014-04-07 Thread Gladson Simplício Brito
The project was migrated to another repository: https://github.com/elo80ka/django-dynamic-formset 2014-04-07 13:13 GMT-04:00 Leandro Alves : > Hi, > > I wonder if anyone knows of any example of django-dynamic-formsets [1] > that works with Django 1.6? > > So far all I found on the internet are

Re: very light weight django task queues

2014-04-07 Thread VidJa Hunter
thanks guys, i'm going to try a few, but django-pq looks very promising. cheers, Vid On Mon, Apr 7, 2014 at 1:53 AM, Russell Keith-Magee wrote: > Hi, > > Another option to throw onto the pile: > > https://github.com/bretth/django-pq > > This was recommended to me by Jannis Leidel (jezdez)

Re: Django Dynamic Formsets

2014-04-07 Thread Leandro Alves
Yes.. I have tried that one as well.. but the example still doesn't work... =/ Any freelance available for this? Thanks for the feedback! Leandro On Mon, Apr 7, 2014 at 7:33 PM, Gladson Simplício Brito < gladsonbr...@gmail.com> wrote: > The project was migrated to another repository: > > http

Re: Django Dynamic Formsets

2014-04-07 Thread Gladson Simplício Brito
Try these: https://pypi.python.org/pypi?%3Aaction=search&term=formset&submit=search If not, tell your need. :D 2014-04-07 14:16 GMT-04:00 Leandro Alves : > Yes.. I have tried that one as well.. but the example still doesn't > work... =/ > > Any freelance available for this? > > Thanks for the f

Re: Django Dynamic Formsets

2014-04-07 Thread Leandro Alves
Brother, I think I have tried all of those already and some other around the internet... I couldn't find anyone that works with Django 1.6. I will send you an email with what I need, ok? :) Thanks again! Leandro On Monday, April 7, 2014 8:43:06 PM UTC+2, Gladson Simplício Brito wrote: > >

Odd error using Formwizard

2014-04-07 Thread Griffin Caprio
Hi, I have a form wizard view with 2 required forms & 1 optional form in it. I'm seeing an occasional error during submission. Here's my named forms: DONATE_FORMS = [("donate", DonateFormItemInformation), ("delivery", DonateFormDeliveryMethod), ("about", DonateFormAbout)] My URL entry: login_

Re: Django Dynamic Formsets

2014-04-07 Thread Gladson Simplício Brito
Okay, send email here: glad...@immensa.com.br 2014-04-07 15:24 GMT-04:00 Leandro Alves : > Brother, I think I have tried all of those already and some other around > the internet... > I couldn't find anyone that works with Django 1.6. > > I will send you an email with what I need, ok? :) > > Th

Re: Django Dynamic Formsets

2014-04-07 Thread Leandro Alves
Done. :) Thanks!!! On Monday, April 7, 2014 9:42:53 PM UTC+2, Gladson Simplício Brito wrote: > > Okay, send email here: > > gla...@immensa.com.br > > > 2014-04-07 15:24 GMT-04:00 Leandro Alves >: > >> Brother, I think I have tried all of those already and some other around >> the internet...

Re: How do I register to get access to the IRC Channel?

2014-04-07 Thread Nathan McCorkle
or just use freenode webchat On Wed, Apr 2, 2014 at 1:59 PM, Aaron C. de Bruyn wrote: > Take a look at this: > > http://www.wikihow.com/Register-a-User-Name-on-Freenode > > If you still get stuck, let us know. > > -A > > > On Wed, Apr 2, 2014 at 1:43 PM, John Draper wrote: >> >> I go to Adium --

Re: Inlines in admin

2014-04-07 Thread Marc Aymerich
On Mon, Apr 7, 2014 at 3:04 PM, Emanuel wrote: > Hi all! > > I'm have the following models: > > Class A(models.Model): > pass > > > Class Z(models.Model): > pass > > > Class B(models.Model): > a = models.ForeignKey(a) > z = models.ForeignKey(Z) > >def __unicode__(self)

Re: Saving forms with ManyToMany relationships

2014-04-07 Thread Jason S
Hi Camilo, I really appreciate your response. I had another go at this last night, particularly trying to use the add(component()) snippet. To respond to your notes: 1. I simplified and used a find-replace to replace the model names which is likely why it dosn't compile, sorry about that. Mine c

Re: Django Dynamic Formsets

2014-04-07 Thread Venkatraman S
Have you tried the jquery formset - works like a breeze for me. On Mon, Apr 7, 2014 at 10:43 PM, Leandro Alves wrote: > Hi, > > I wonder if anyone knows of any example of django-dynamic-formsets [1] > that works with Django 1.6? > > So far all I found on the internet are over 3 years old and th

Re: Saving forms with ManyToMany relationships

2014-04-07 Thread Camilo Torres
Hello, This works for me, saving the related objects in the many to many relationship. You can start from there to build yours: models.py: class Student(models.Model): name = models.TextField() class Course(models.Model): name = models.TextField() students = models.ManyToManyField

Using filter_horizontal with InlineAdmin - should work, right?

2014-04-07 Thread Victor Hooi
Hi, I'm hacking up a system to manage attendees at a camp. I have a Person model (which might be better as a customer UserModel, still not sure). There are multiple types of people - e.g. camp attendees, staff, supervisors etc. Each person that is a camp attendee will also have an "Attendance