I have a little question about forms in django. I can put several {{ form }} objects between two <form></form> tags. Can I use these {{ form }} objects like fieldsets? And can a formset be used to represent these fieldsets?
Debnet has quit
sam[cOe] joined the channel
TheTemplar has quit
wkm has quit
whaack joined the channel
shibly joined the channel
Paradisee joined the channel
djapo has quit
Paradisee_ has quit
whaack has quit
tekknokrat
jtiai: OK, perhaps I miss the point but how can you get a history of run tasks from redis and rabbitmqueue within django?
Johnade joined the channel
django772 joined the channel
jtiai
tekknokrat: By means that celery provides me. Since I really don't care much how and where they're stored.
django772
Can we use 2 serializers in same class ?
I have this need to use 2 different serializers in same class's different methods
ljosberinn joined the channel
ilhami
Does django have a slack channel where I can get help?
django772
I am refering to DRF
jtiai
ilhami: This is one of the best channels for help as well as mailing list.
django772: I guess answer is yes.
django772
how? @jtial
jtiai
django772: Showing the code what you're trying to would help greatly to give better answer.
ilhami
jtiai: normally you can find some slack channels
django772
ok
jtiai
ilhami: Officially there is none, maybe unofficially.
tekknokrat
jtiai: ok, thanks perhaps thats what I need to get rid of, to care about where the data is stored
ticketbot_ has quit
ticketbot joined the channel
jtiai
tekknokrat: I use redis in local dev since it's so easy to setup.
pupil joined the channel
rain0r has quit
django772
class LoginView(generics.CreateAPIView): """ Authenticate, login & create auth token for user. """ queryset = models.MyUser serializer_class = serializers.LoginSerializer permission_classes=(AllowAny,) @transaction.atomic def post(self, request, *args, **kwargs): serializer = self.get_serializer(data=request.data) def anothermethod(self, request, *args, **kwargs): serializer = My another serializer
Aah its not readable .. let me repost
grex has quit
jtiai
django772: aa.. not here!
areski joined the channel
shibly
django772: Use a pastebin website.
jtiai
django772: Welcome to #django || Please provide code and __full__ traceback in a pastebin || Pastebin at: http://dpaste.de/ -- do not use pastebin.com!