Re: django, postgresql and eliminating duplicates

2011-03-01 Thread DaithiF
typo, omitted field name in group by: select member_id, scoredate, count(*) from scoring_record group by member_id, scoredate having count(*) > 1 -- 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@

Re: django, postgresql and eliminating duplicates

2011-03-01 Thread DaithiF
why not do the check directly on the database? select member_id, scoredate, count(*) from scoring_record group by member_id having count(*) > 1 (update field/table names as required). -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-07 Thread DaithiF
Hi, you only have 1 forward slash after the ftp: protocol string, you need two: 'ftp:*/*/16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroup