27;, 'full_address', 'status')
>
> def get_full_address(self, obj):
> return f"{address1} {address2} {address3} {addres4}"
>
> it's saying address1 address2 address3 and address4 is not define
>
>
> On Sun, Oct 18, 2020 a
oglegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-rest-framework/CA%2BBWBj3eHjtt%2BYSMU8DyKF4SBdZ2i0h3KZME1WR_LFTDcQmQeg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-rest-framework/CA%2BBWBj3eHjtt%2BYSMU8DyK
lt;https://groups.google.com/d/msgid/django-rest-framework/93ceeb6a-c7c1-4c7b-834d-81429ef4b0f8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Venlig hilsen
Jakob Damgaard Møller
Mobil: 24613112
--
You received this message because you are subscribed to the Google Gro
What have you tried so fare?
Are you able to get the data out of the api as wanted?
Are you able to produce a excel file?
On Fri, Jul 10, 2020 at 5:02 AM Ashutosh Mishra
wrote:
> I am creating an api to get data and images from django model to excel
> sheet ,how can i do that,someone please help
up.py
> install, after i don't understand what to do
>
> On Sat, Jun 20, 2020 at 6:10 PM Jakob Damgaard Møller
> wrote:
>
>> Hello Venna,
>> what have you tried so fare?
>>
>> Have you followed the instructions on this page:
>> https://github.com/dja
Hello Venna,
what have you tried so fare?
Have you followed the instructions on this page:
https://github.com/django-helpdesk/django-helpdesk
Are you getting any errors?
If yes, which?
It is not working as expected?
Help us help you. Provide more details. :)
On Sat, Jun 20, 2020 at 12:13 PM venn
You can choose whatever you feel like:
Angular
Reactjs
Vue.js
Ember
or custom...
On Thu, May 14, 2020 at 11:55 AM Wanderley S wrote:
> You could also use Vue.js.
> I started with react, then migrated to Vue.
> In my opinion Vue is easier to understand and use and has a really awesome
> document
What are we talking about?
On Wed, Sep 25, 2019 at 12:34 PM Kęstutis Ramulionis <
kestutis.ramulio...@gmail.com> wrote:
> Hello, i would like to ask how to remove delete method confirmation pop up
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django REST fr
Or look into a custom permission:
https://www.django-rest-framework.org/api-guide/permissions/#custom-permissions
IsCreationOrAuthenticated like the: IsOwnerOrReadonly
Instead of the request.method in permissions.SAFE_METHODS, see if the
method == "POST"
On Tue, Sep 10, 2019 at 2:30 PM siva gatti
Instead of using a viewset look at:
https://www.django-rest-framework.org/api-guide/generic-views/
or:
https://www.django-rest-framework.org/api-guide/views/
You will need to assign permissions_classes to each "method"
On Tue, Sep 10, 2019 at 2:04 PM Harrys Asimakopoulos
wrote:
> from rest_frame
What do you mean?
You have done this:
https://docs.djangoproject.com/en/2.2/topics/auth/customizing/#substituting-a-custom-user-model
And now DRF is not working ?
On Sat, Aug 10, 2019 at 2:51 PM göktürk sığırtmaç
wrote:
> Hello, how can i convert auth user table to users table in Django Rest
> F
rest_auth != rest-auth ??
On Sat, May 18, 2019 at 12:07 PM Tim Vogt wrote:
> This happens:
>
> (api_django_new) bash-3.2$ python manage.py runserver
> Watching for file changes with StatReloader
> Exception in thread django-main-thread:
> Traceback (most recent call last):
> File
> "/usr/loca
https://www.django-rest-framework.org/api-guide/generic-views/#updateapiview
This view support PUT and PATCH.
On Sat, Feb 2, 2019 at 7:47 AM wrote:
> Unfortunately, there is no reply on my question.
> My question is about a partial update of the columns in the database.
> At this moment, PATCH m
And you have installed the Django filter as described below:
https://www.django-rest-framework.org/api-guide/filtering/#djangofilterbackend
lør. 19. jan. 2019 kl. 00.16 skrev Praveen Kumar <
praveenkumar.elanko...@gmail.com>:
> I am upgrading Django from 1.8 to 2.1.5 and Python 2.7 to 3.6. On t
Look at this https://factoryboy.readthedocs.io/en/latest/
tor. 13. dec. 2018 kl. 09.15 skrev Alexander Lamas <
alexander.g.la...@gmail.com>:
> Hi all,
>
> Does anyone know where and how to implement the reading and execution of a
> sql script file to create all database objects before run the unit
Depends what you want to archive. If you just want the users, you could do:
users = User.objects.all()
Remember to import User model
ons. 12. sep. 2018 kl. 22.45 skrev Daniel Breves :
> I've just realized that I'm receiving a list of OrderedDict and that's ok.
> But am I doing it the right way?
Hello sagar, i think this tutorial can help you. See this
http://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/#associating-snippets-with-users
ons. 8. aug. 2018 kl. 13.50 skrev Sagar Bhadarka :
> Hello everyone
> I have an API in django. When that API called by app it ac
17 matches
Mail list logo