hello again,
I haven't got my doubts solved but a few got added.
I was again going through the tutorial on Django REST framework.
I am trying to know if I can use a serialiser without tying it to the
DJango ORM or for that matter without tying it to any thing?
I prefer using SQLAlchemy and get the data out using sql expression
language.
Then I would like to convert this data to json format for sending as
response.
Is this possible?
Happy hacking.
Krishnakant
On Friday 16 October 2015 11:39 AM, kk wrote:
Dear all.
I got some very important suggestions from members of this list on
using Django for an accounting and inventory system, including Point
of Sale.
After the POS topic was discussed,
OUr team decided to write a RESTfull server with all the business
logic in API.
We plan to do this using some thing like Flask micro framework and
then write a complete web app using Django to consume these services.
Of course it could be argued that why not use Django REST framework?
But here I am a bit surprised as well as a bit disappointed.
Contrary to what we have all seen and experienced about Django's
documentation, the rest framework is not at all comprehensively
documented.
I am still not totally understood the use of
|serializers.HyperlinkedModelSerializer. viewset is also not totally
explained properly. the tutorial is pretty fast and confusing. I think
a better example would have served it more understandable. Or perhaps
the documentation there asumed that every one who reads it is a Django
as well as REST expert, even then it is confusing. Any ways coming
back to the topic. So What suggestions could I get about my main
query? happy hacking. Krishnakant. |
--
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+unsubscr...@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/5620CACC.2060702%40gmail.com.
For more options, visit https://groups.google.com/d/optout.