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" <[email protected]> wrote:

>
> On Aug 11, 2015, at 12:29, Prabath Peiris <[email protected]>
> 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).
>
> ZF2 console routes :
> http://framework.zend.com/manual/current/en/modules/zend.console.routes.html
>
>
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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
> <https://groups.google.com/d/msgid/django-users/755F8E03-EE81-4379-876A-563DA2A0321B%40gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to