Is possible to create Django Rest API without admin module ?

34 views
Skip to first unread message

Sajan s

unread,
Nov 1, 2019, 11:29:19 PM11/1/19
to Django REST framework
Hey All,

I am new to python and trying to create rest api using "django-rest-framework".

simple API ,
  • no Auth
  • receive request
  • get data from mysql
  • internal process
  • return JSON response.
Any one help me out?

Anil Yadav

unread,
Nov 2, 2019, 5:50:23 AM11/2/19
to django-res...@googlegroups.com
yes it possible

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/8cd01caf-16c2-4684-ae4b-ffa8a5ef2160%40googlegroups.com.

Anil Yadav

unread,
Nov 2, 2019, 5:50:48 AM11/2/19
to django-res...@googlegroups.com
what type of service you want to create 

Sajan s

unread,
Nov 2, 2019, 11:59:19 AM11/2/19
to Django REST framework
I want create Web API like below.

1) receive  JSON request
2) internal process and insert into postgresql
3) return JSON response

Can you pls share any Url which I can refer 


On Saturday, November 2, 2019 at 5:50:48 AM UTC-4, Anil Yadav wrote:
what type of service you want to create 

On Sat, Nov 2, 2019 at 3:20 PM Anil Yadav <anil...@gmail.com> wrote:
yes it possible

On Sat, Nov 2, 2019 at 8:59 AM Sajan s <jess...@gmail.com> wrote:
Hey All,

I am new to python and trying to create rest api using "django-rest-framework".

simple API ,
  • no Auth
  • receive request
  • get data from mysql
  • internal process
  • return JSON response.
Any one help me out?

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsub...@googlegroups.com.

Vetti Ebinyjar

unread,
Nov 2, 2019, 12:10:30 PM11/2/19
to django-res...@googlegroups.com
Use CLASS BASED APIVIEW
Refer django rest framework APIVIEW
USE POST METHOD 

On Sat, Nov 2, 2019, 9:29 PM Sajan s <jess....@gmail.com> wrote:
I want create Web API like below.

1) receive  JSON request
2) internal process and insert into postgresql
3) return JSON response

Can you pls share any Url which I can refer 

On Saturday, November 2, 2019 at 5:50:48 AM UTC-4, Anil Yadav wrote:
what type of service you want to create 

On Sat, Nov 2, 2019 at 3:20 PM Anil Yadav <anil...@gmail.com> wrote:
yes it possible

On Sat, Nov 2, 2019 at 8:59 AM Sajan s <jess...@gmail.com> wrote:
Hey All,

I am new to python and trying to create rest api using "django-rest-framework".

simple API ,
  • no Auth
  • receive request
  • get data from mysql
  • internal process
  • return JSON response.
Any one help me out?

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/f619d056-7cd3-44c4-8112-5c7cf083631e%40googlegroups.com.

Sajan s

unread,
Nov 2, 2019, 12:58:07 PM11/2/19
to Django REST framework
any sample url?


On Saturday, November 2, 2019 at 12:10:30 PM UTC-4, Vetti Ebinyjar wrote:
Use CLASS BASED APIVIEW
Refer django rest framework APIVIEW
USE POST METHOD 

On Sat, Nov 2, 2019, 9:29 PM Sajan s <jess...@gmail.com> wrote:
I want create Web API like below.

1) receive  JSON request
2) internal process and insert into postgresql
3) return JSON response

Can you pls share any Url which I can refer 

On Saturday, November 2, 2019 at 5:50:48 AM UTC-4, Anil Yadav wrote:
what type of service you want to create 

On Sat, Nov 2, 2019 at 3:20 PM Anil Yadav <anil...@gmail.com> wrote:
yes it possible

On Sat, Nov 2, 2019 at 8:59 AM Sajan s <jess...@gmail.com> wrote:
Hey All,

I am new to python and trying to create rest api using "django-rest-framework".

simple API ,
  • no Auth
  • receive request
  • get data from mysql
  • internal process
  • return JSON response.
Any one help me out?

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsub...@googlegroups.com.

Carl Nobile

unread,
Nov 2, 2019, 1:14:50 PM11/2/19
to django-res...@googlegroups.com
Sajan, It's best to just follow the documentation on the DRF site https://www.django-rest-framework.org/.
The Django admin is very easy to set up and sometimes is a necessity. Just look at the Django docs.

yes it possible

To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/b2bca113-3e5f-4680-9f3b-07b528b5a1b0%40googlegroups.com.


--
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
carl....@gmail.com
-------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages