On 7/09/2020 3:27 pm, django-newbie wrote:
> 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.
A refreshed database is most likely what you want for testing. There are
ways
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 l
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 = forms.ChoiceField(widget=form
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
res
4 matches
Mail list logo