Commit Graph

9 Commits

Author SHA1 Message Date
Isaac Bythewood
c71fa17aca Updates to support Python 3 2017-09-23 21:12:54 +00:00
Isaac Bythewood
af4e7437a3 self.url is not always set, return required fields for pin 2017-02-11 05:23:07 +00:00
Isaac Bythewood
5cb59746df Fixes issue #37 2016-02-04 19:48:31 +00:00
Krzysztof Klimonda
7db42bb075 Generate thumbnails when image is being saved
Too lax unique constraints for Thumbnail coped with "on demand" thumbnail
generation may leave database in inconsistent state where two thumbnail for
the same size are saved. We should be able to prevent that from happening
by generating all thumbnails when we save the image. Should fix #24, but
I can't figure out a way to actually test it.
2013-04-16 00:30:43 +02:00
Krzysztof Klimonda
98876bb0bd Use requests library instead of raw urllib2
This commit is a foundation upon a more robust image fetching code
will be built in the future, and it already fixes at least one weird
issue I've seen.
2013-03-19 15:22:20 +01:00
Krzysztof Klimonda
d0d68545ca Add "origin" field to the Pin model
"origin" is an optional field that stores the URI for the site
that the image has been saved from, it's going to be used only from
bookmarklet. Fixes #63
2013-03-03 08:25:42 -08:00
Krzysztof Klimonda
53f05dbb6d A general project refactor
Removed pins django app, and moved code to the core. Moved user related
code out of core to the users app.
2013-03-03 04:47:34 -08:00
Krzysztof Klimonda
270cfb7ee7 Expose a gravatar hash for account via the Rest API 2013-02-22 01:28:56 +01:00
Isaac Bythewood
30985a9efe Added basic core app tests. 2012-05-10 02:34:15 +00:00