Re: How to store a key to a something that can be either a person or an organization?

2017-10-20 Thread Ruben Alves
You can use Generic Key: https://docs.djangoproject.com/en/1.11/ref/contrib/contenttypes/ Em sexta-feira, 20 de outubro de 2017 07:59:35 UTC-2, Antonis Christofides escreveu: > > Hello, > > Two real examples that I've faced: > > class MeteorologicalStation(models.Model): > ...

Re: tutorial on mongodb and django

2017-12-11 Thread Ruben Alves
I've seen someone posting here some time ago the Djongo (Django + Mongo): https://github.com/nesdis/djongo Em domingo, 10 de dezembro de 2017 19:34:18 UTC-2, Krishna Neupane escreveu: > > Hey I am trying to learn Django and wanted to implement it with mongoDB. > Are there any pointers where I co

Re: Single Sign On (SSO) across multiple django projects

2019-01-16 Thread Ruben Alves
I had to do the same in the company I work for recently and after some investigation we decided to use OpenID Connect: http://django-oidc-provider.readthedocs.io Em quarta-feira, 16 de janeiro de 2019 04:14:18 UTC, Dennis Sepeur escreveu: > > Hi, I've developed an monolithic django project over

Re: Looking for a Django co-founder

2019-03-15 Thread Ruben Alves
Hi Zack I see you sent a similar email like a month ago (or at least was another user with the same idea) Back then I didn't reply, but one month later I see you are still talking about that, so you seem to be persistent, which I believe is the key for success. I have been working with Django

Re: Inconsistent Django test results depending upon how the test is called in Django 1.5.1 running on Python 2.7.4

2019-03-27 Thread Ruben Alves
I had a similar problem and I solved it by making all tests inherit from `django.test.TestCase`. I had some tests inheriting from `unittest.TestCase`, which doesn't reset the database after the test is finished. I found the answer on https://stackoverflow.com/a/436795/6490637 Em segunda-feira

Re: Django admin raises CSRF verification failed when changing from DEBUG True - > False

2017-08-11 Thread Ruben Alves
Same problem here. -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@g

Re: Django admin raises CSRF verification failed when changing from DEBUG True - > False

2017-08-11 Thread Ruben Alves
Same problem here. I've created a ticket: https://code.djangoproject.com/ticket/28488 -- 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 django-users+unsubscr...@g