Tuesday, August 11, 2015

Re: Console Routes With Django ??

Not really. Management commands available in Django can't modify database content as console routes does. Think about them as having a CRUD view set that you can only call via a management command.

On 12 Aug 2015 01:23, "Tom Lockhart" <tlockhart1976@gmail.com> wrote:

On Aug 11, 2015, at 12:29, Prabath Peiris <prabath@peirisclothing.com> wrote:

Hi 

I am new to (kind of) Django framework and just finish the Django-REST-framework tutorials and it looks really cool. I am a big fan of ZendFramework2.0 (with Apigility) and trying to make parallels between these two frameworks. My primary question is about console routes. In ZF2 you can define console routes very easily and execute same controllers as web API requests. What is the best way to accomplish this in Django (specially using REST framework). 


affect the equivalent would be Django management commands.

hth

- Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/755F8E03-EE81-4379-876A-563DA2A0321B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBUKcTNO27Htx%2BF5Rq7-GofG62UggvGzz%2BaLoEXM%2BOWhFxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment