Code Monkey home page Code Monkey logo

django-pgallery's People

Contributors

dependabot[bot] avatar zsiciarz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-pgallery's Issues

problem basic

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...

Default for ArrayField should be changed

Hello Zbigniew,

https://github.com/zsiciarz/django-pgallery/blob/master/pgallery/models.py#L95-L96

The defaults should be changed: from [] to list

https://docs.djangoproject.com/en/1.9/ref/contrib/postgres/fields/#django.contrib.postgres.fields.ArrayField

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

Very, very, very long exit tag "ImageDescription'"

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

Can't figure out how import pictures into example app

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.