Re: Django external libraries

2019-04-07 Thread Asif Saif Uddin
try to make MIDDLEWARE_CLASSES to MIDDLEWARE first, you didn't mentioned the version of django and the extension you installed. On Sunday, April 7, 2019 at 3:58:18 PM UTC+6, Saeed Pooladzadeh wrote: > > Hello > > I've added an external library in django. I have installed in installed > apps but

Django saleor postgresql hstore issue

2019-04-10 Thread Asif Saif Uddin
facing this error even after creating hstore extension from pg shell and generated empty migrations for hstore: line 89, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.6/dist-packages/django/db/backends/utils.py", line 84, in _execute

Re: Django saleor postgresql hstore issue

2019-04-10 Thread Asif Saif Uddin
Fixed using this https://stackoverflow.com/questions/10757431/postgres-upgrade-a-user-to-be-a-superuser On Thursday, April 11, 2019 at 10:05:58 AM UTC+6, Asif Saif Uddin wrote: > > facing this error even after creating hstore extension from pg shell and > generated empty migrations f

Django ORM Model meta internal API to current API update

2020-08-18 Thread Asif Saif Uddin
Hi, I have got an old project of django 1.8 which use codes like links = [rel.get_accessor_name() for rel in self._meta.get_all_related_objects()] How would I upgrade this code snippets to django 2.2 LTS? TIA -- You received this message because you are subscribed to the Google Groups "Djan

Re: Django ORM Model meta internal API to current API update

2020-09-07 Thread Asif Saif Uddin
any help? I can share the full function On Wednesday, August 19, 2020 at 3:42:09 AM UTC+6 vickkymb...@gmail.com wrote: > I don't bro i just started new in Django > > Victor > > On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin wrote: > >> >> Hi, >> I have g