Re: Heroku testing

2024-06-23 Thread Reddy Tintaya
ploying your firsts deployments! Regards, Reddy Tintaya > On 23 Jun 2024, at 8:01 AM, Gabriel Soler wrote: > > Dear all > > I am doing my first deployment and using heroku. I am using the eco tier and > connected a postgres database. > When I try to run tests with heroku

Re: Help with DRF error

2023-12-16 Thread Reddy Tintaya
Can't you just use workitem = serializers.PrimaryKeyRelatedField( queryset=WorkItem.objects.all()) instead of workitem_id? On Sat, Dec 16, 2023 at 10:00 AM Larry Martell wrote: > I have a DRF API. It is throwing an error that I have not been able to fix. > > Here is my view and serializer:

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Reddy Tintaya
Should I suppose that it appears like error only in your editor, but the app runs with no problem? I guess the error is that your IDE is not pointing to the correct python interpreter > On 27 Apr 2023, at 16:05, Michael Starr wrote: > > I did pip install django on my venv, which is

Re: Django CORS Headers

2023-04-26 Thread Reddy Tintaya
https://pypi.org/project/django-cors-headers/ django-cors-headers pypi.org This package does the magic for you :) > On 26 Apr 2023, at 07:14, Salman Butt wrote: > > Hello i am using drf to create api for viewing User profile and relevant > information, during Sign up and log in there were