djngo unittest to use "real" database.

2020-09-06 Thread django-newbie
Hi All, I am currently writing test cases for views, Which eventually uses database also. By default a test database is being created and removed after test are run. As the database itself is development database, I don't want my test to create a separate db but use exciting only. Also I will

django widget radio button error save is not touch

2020-09-06 Thread carlos
Hi, i have a problem when save a field in radio button in my models have this CHOICES_OPTIONS = ( (1, 'Yes'), (2, 'No'), ) class MyModels(...): myfield = models.IntegerField(choices=CHOICES_OPTIONS, null=True, blank=True) class MyModelsForm() myfield =

Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-06 Thread Shishir Jha
And here are the two repos which represent frontend and backend for a react and django app that I built during a hiring process. Note that this is a very beginner level. I had to submit it within 10 days. But it covers all the basics like rest apis, authentication,authorization, calling backend

Is this a bug on manage.py command: no such table: auth_permission?

2020-09-06 Thread cta...@gmail.com
Hi, I am getting an error django.db.utils.OperationalError: no such table: auth_permission on my manage.py command (makemigrations/migrate/runserver) I am not sure if this consider a bug or is it a problem of my setup. So I am checking here before filing bug report to the ticket tracker. To