zsiciarz / django-pgallery Goto Github PK
View Code? Open in Web Editor NEWPhoto gallery app for PostgreSQL and Django.
License: MIT License
Photo gallery app for PostgreSQL and Django.
License: MIT License
Did you have any demo site?
Template error:
In template /home/lolkj/Djangoprojects/django-pgallery/example_project/pgallery/templates/pgallery/gallery_list.html, error at line 5
no existe la relación «pgallery_gallery»
LINE 1: ..., "pgallery_gallery"."description_rendered" FROM "pgallery...
Hello,
I got error index row requires 12400 bytes, maximum size is 8191
when saved image.
Hello Zbigniew,
https://github.com/zsiciarz/django-pgallery/blob/master/pgallery/models.py#L95-L96
The defaults should be changed: from []
to list
If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using default=[] creates a mutable default that is shared between all instances of ArrayField.
I think the same should be applied to HStoreField
Request Method: | GET |
---|---|
http://localhost:8000/photo/1/ | |
1.11.7 | |
NoReverseMatch | |
Reverse for 'exif_photo_list' with keyword arguments '{'exif_key': 'ImageDescription', 'exif_value': "Apikuni Falls in the Swiftcurrent region of Glacier National Park, Montana. This was a treat as we didn't research the falls before doing the hike. Turned out to be extremely beautiful and near perfect timing for the lighting.\n\nTaken at an extremely reasonable 6:26 PM. That's correct. A time that didn't require an early alarm clock... just a later dinner.\n\nDay #33 of 50 new images\nhttp://brianwdowns.com/\nhttp://www.facebook.com/brianwdownsphotography"}' not found. 1 pattern(s) tried: ['exif/(?P<exif_key>[ \w]+)/(?P<exif_value>.+)/$'] | |
/Users/smartgrid/dev/tank/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 | |
/Users/smartgrid/dev/tank/bin/python | |
3.6.3 | |
['/Users/smartgrid/dev/tank/django-pgallery/example_project', '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python36.zip', '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6', '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload', '/Users/smartgrid/dev/tank/lib/python3.6/site-packages', '/Users/smartgrid/dev/tank/src/upload'] | |
Mon, 20 Nov 2017 23:29:55 +0000 |
Hi,
I'm new to django, and I got the example app up and running with no pictures. I was able to get into the admin interface. But I a templatedoesnotexist message when I attempted to import some pics.
Please let me know what I am doing wrong. Thanks,
-Dave
Django 1.11 reached EOL a few days ago. We need to upgrade to 2.0 and upwards as soon as possible.
We should move forward and switch to JSONB for exif storage. Also bump required Postgres version higher than 9.4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.