OK, I found the error ...
Our student worker forgot to enable xsendfile ;).
Thanks!
Katja
--~--~-~--~~~---~--~~
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@googl
Hey,
it's not really a Django question but maybe someone has an idea :).
I have the following method:
def sendfile(request, dataset_id):
ds = DataSet.objects.select_related().get(id=dataset_id)
filename = ds.table_information.object_name
response = HttpResponse()
response['X-Sendfile']
Hi,
I need to implement a search over a text field I have ...
The user can enter multiple values into a search box and I need to do
kind of full text search in one field of the database.
E.G.
class DataSet(models.Model):
...
abstract = models.TextField()
...
Let's say the user enters "jan
> Hmm, that's weird. Does it work if you remove the select_related()?
No, it doesn't ...
I've made a workaround like this ...
ds =
DataSet.objects.select_related().filter(coverage__geo_temp_coverage__ending_temporal_coverage_date__lte=datetime.date(int(max_year),
12,31)).order_by('dataset_id_nr'
> DataSet.objects.select_related().filter(coverage__geo_temp_coverage__ending_temporal_coverage_date__year__lt=max_year).order_by('dataset_id_nr')
Thanks a lot :)!
This helps more or less ;), because now I get a Field Error I don't
understand ...
"Join on field 'ending_temporal_coverage_date' not
5 matches
Mail list logo