Hello Gang, I have the function below which returns this error -> "FieldError at /by_date/ Join on field 'first_day_start_time' not permitted. Did you misspell 'month' for the lookup type?"
The function will work in other objects (even with model relationships), but not when the __month filter is used. Has anyone got a work-around for this? if s_form.is_valid(): if s_form.cleaned_data['start_date']: s_date_month = request.POST.getlist('start_date_month') s_date_year = request.POST.getlist('start_date_year') expo_obj = expo_obj.filter(first_day_start_time__month__in=s_date_month ) -- Bust0ut, Surgemcgee: Systems Engineer --- surgemcgee.com BudTVNetwork.com RadioWeedShow.com "Bringing entertainment to Unix" -- 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 to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.