Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Mike Dewhirst
On 12/02/2019 4:54 pm, Victor H. Velasquez Rizo wrote: Hi Mike. I have spend hours trying to get the code where all this crazyness is happening with no good luck. I would like to ask you if there is any posibility you can access my computer trhoug TEAMVIWER and guide me on this. I would love

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
Hi Mike. I have spend hours trying to get the code where all this crazyness is happening with no good luck. I would like to ask you if there is any posibility you can access my computer trhoug TEAMVIWER and guide me on this. On Mon, Feb 11, 2019 at 9:40 PM Mike Dewhirst wrote: > On 12/02/2019

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Mike Dewhirst
On 12/02/2019 2:19 pm, Victor H. Velasquez Rizo wrote: Hello mike. Thank you for all this information. I've been checking the migrations but I don't see anything with the *sort_value* In that case you have asked for gallery_photos.sort_value somewhere in your code and that is being

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
Hello mike. Thank you for all this information. I've been checking the migrations but I don't see anything with the *sort_value* Photologue Galleries Add Change Photo effects Add Change Photo sizes Add Change Photos Add Change Watermarks When I get into

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Mike Dewhirst
On 12/02/2019 11:47 am, Victor H. Velasquez Rizo wrote: Yes Mike. I have done both: In that case, you need to inspect the database itself using PGAdmin (or similar for other databases) and confirm that the gallery_photos table does indeed have a sort_value column. If not - as the error

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
Yes Mike. I have done both: *python manage.py makemigrations* /home/vic/dev/scribblitt/scribblitt-app/.env/local/lib/python2.7/site-packages/django/db/models/sql/query.py:1156: RemovedInDjango19Warning: Passing callable argumentsto queryset is deprecated. value, lookups, used_joins =

Re: Password Policy Adherence. Cannot use the passwords used before

2019-02-11 Thread Simon A
Yes that's very true. I guess I acquired a phobia for diving into the source code because of my first programming language (J**A) because it felt like I was reading cryptic stuff. But not with Python. On Monday, February 11, 2019 at 9:08:35 PM UTC+8, Jason wrote: > > Sometimes going through the

class view with filter on form input

2019-02-11 Thread Bob Bobsled
Hi, I have form on a search page called SearchForm where the user selects items to search. The rest part creates a URI which appears as below from the selected items to search. http://archive/ephemera/searchresult/?choose_collection=Macmillan_input=GuitarBuilder_item=title I'm trying to write a

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Mike Dewhirst
On 12/02/2019 10:23 am, Victor H. Velasquez Rizo wrote: Hello Mike. I have ran the migrations for PHOLOGUE: *Running migrations:* *  No migrations to apply.* Ok, have you done manage.py makemigrations followed by manage.py migrate? On Mon, Feb 11, 2019 at 4:02 PM Mike Dewhirst

pip install vs apps in folder

2019-02-11 Thread tech tech
Hi, all, I am interested in this project: https://github.com/mbraak/django-file-form I run "pip install django-file-form" and everything works fine. But, I want to change some behaviors of this upload package. I feel this link

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Mike Dewhirst
On 12/02/2019 4:31 am, victor rizo wrote: Hello everyone. I am desperate trying to find a solution for this issue... ProgrammingError at /admin/photologue/photo/ column photologue_gallery_photos.sort_value does not exist This says the column "sort_value" does not exist in the table

Django-Photologue - error deleting a photo

2019-02-11 Thread victor rizo
Hello everyone. I am desperate trying to find a solution for this issue... ProgrammingError at /admin/photologue/photo/ column photologue_gallery_photos.sort_value does not exist LINE 1: ...lery_id", "photologue_gallery_photos"."photo_id", "photologu... It is happening every time I try to

Detail view + filter

2019-02-11 Thread Thibaud MONTAGNON
Hello, I would like to know if it is posible to join a filter in a detail view ? I want to put this : def index(request): model_list = Model.objects.all() model_filter = ModelFilter(request.GET, queryset=model_list) return render(request, 'model/index.html', {'filter':

Django bugfix releases: 2.1.7, 2.0.12 and 1.11.20

2019-02-11 Thread Carlton Gibson
Updated releases correcting a packaging issue from this morning are now available for the 2.1, 2.0 and 1.11 release branches. https://www.djangoproject.com/weblog/2019/feb/11/bugfix-releases/ -- You received this message

Django 1.11.19 .whl failing with error

2019-02-11 Thread Kevin Carrogan
The Django 1.11.19 .whl release file appears to erroneously contain a file that appears to be from the 2.x release (it contains Py3 only code). The file in question is django.contrib.admin.templatetags.base which shouldn't exist in the 1.11.19 release. This file doesn't appear to exist in the

Re: The database driver doesn't support modern datatime types.

2019-02-11 Thread Ivan Martić
resolved. Microsoft ODBC driver was missing, download it from MS official web page and all is working perfect now On Monday, February 11, 2019 at 11:21:37 AM UTC+1, Ivan Martić wrote: > > Hi all, > > I am migrating to from development to prod server and getting this error > app. > > Error

Re: Composite Primary / Foreign Key support

2019-02-11 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Feb 11, 2019 at 01:08:41AM -0800, 'Lance Ellinghaus' via Django users wrote: > I have seen references to people adding the support of composite primary > keys to Django for years, but it does not look like it has been added. > > I have a

Re: Google+ shutdown and replacement for login

2019-02-11 Thread Manas Nikam
Have you tried Google login using Javascript send the user token you receive at the front end to the backend and get user details through their API On Mon, Feb 11, 2019 at 6:49 PM Jason wrote: > Would it be better for you to reach out to whatever package you're using > for login with the G+

Re: Exception happened during processing of request from ...

2019-02-11 Thread Jon bae
Am Freitag, 8. Februar 2019 13:24:01 UTC+1 schrieb Pedram Badakhchani: > > I am getting similar errors, also running Django 2.15 with python 3.72, > would be very interested if you have found a solution > > No, sadly I did not found a solution. Maybe django is not 100% compatible with python

Re: Google+ shutdown and replacement for login

2019-02-11 Thread Jason
Would it be better for you to reach out to whatever package you're using for login with the G+ API? If this were strictly Django related, you would probably get help here. However, since I imagine you're using a third party package, not sure if this is the best place for you to find answers.

Re: Password Policy Adherence. Cannot use the passwords used before

2019-02-11 Thread Jason
Sometimes going through the source code is the easiest way to figuring out the problem :-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Composite Primary / Foreign Key support

2019-02-11 Thread 'Lance Ellinghaus' via Django users
I have seen references to people adding the support of composite primary keys to Django for years, but it does not look like it has been added. I have a number of legacy databases that I cannot add fields to but need to be able to be queried through Django. They are read-only tables. A number

Google+ shutdown and replacement for login

2019-02-11 Thread Onkar Narkar
Hello, We in our organisation have deployed many projects and for login purpose ,we used Google+ API. But as the G+ API won't be available after shutdown of the same,we need to have a replacement for G+ login. We have already tried with Google Login, but no success as there is no complete/clear

pymongo

2019-02-11 Thread B.navya spoorthi Sweety
hi all, i am trying to update all documents in collection using pymongo here is my update function, def update(): for doc in mycol.find(): mycol.update({},{"$set":{"status":"approved"}}) but using above code i am able to update only one document,what i am doing wrong here

Django 2.2 beta 1 released

2019-02-11 Thread Carlton Gibson
We've made the second release on the way to Django's next major release, Django 2.2! With less than two months until the final release, we'll need timely testing from the community to ensure a stable release. Check out the blog post:

Django security releases issued: 2.1.6, 2.0.11, and 1.11.19

2019-02-11 Thread Carlton Gibson
Today the Django team issued 2.1.6, 2.0.11, and 1.11.19 as part of our security process. These releases address a security issue, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2019/feb/11/security-releases/ -- You received this message

The database driver doesn't support modern datatime types.

2019-02-11 Thread Ivan Martić
Hi all, I am migrating to from development to prod server and getting this error app. Error started to show after installation of allauth library. I cant find anything on google related to this topic so I hope you can help me out. Traceback is saying: Exception Type: ImproperlyConfigured at

Re: Upgrading project from Django 1.11 to 2.1

2019-02-11 Thread Mike Dewhirst
On 11/02/2019 6:00 pm, PARTH PATIL wrote: Six.text_types is used to represent unicode() in python2 and str in python3. And now you are only using python3, it would be safe to replace it with str() Thank you kind Sir! Mike -- You received this message because you are subscribed to the Google