Re: Django-React with webpack or create-react-app

2020-03-07 Thread Ronit Mishra
t' > create a folder with name 'build' and I can't change it and config is hard > for work them together > > On Saturday, March 7, 2020 at 1:07:44 PM UTC+3:30, Ronit Mishra wrote: >> >> Start with `creat-react-app`.. webpack and bundler are task runner

Re: Django-React with webpack or create-react-app

2020-03-07 Thread Ronit Mishra
Start with `creat-react-app`.. webpack and bundler are task runners that bundle your code for production. `creat-react-app` has a bundler program inbuilt. Once you're comfortable with React and you're easily able to communicate between Django and React components, then you might wanna look into imp

Re: Necessary to learn React/ Angular with backend Django

2020-01-07 Thread Ronit Mishra
Hi Balaji, Here are a few things for you to take note down based on my experience. The simplest architecture is the best architecture. Be it *Apache *or *Nginx*, you're using *Django*'s wsgi services and using *Bootstrap *for designing your layout. Probably with some storage solution, either a d

Re: President of India: Save Nallamala Forest from Uranium Mining @rashtrapatibhvn @TelanganaCMO

2019-09-14 Thread Ronit Mishra
Totally agree with Sipum. Ban these users! On Sat, Sep 14, 2019 at 4:39 PM Sipum wrote: > What the fuck is going on.. Here it is not the place to sign petition. It > is to django doubt clearing group where one helps other to help. > > Shame on you guys. U arw fucking kids spamming it. > > On Sat

Re: Get authorization and list users in auth via http request

2019-09-12 Thread Ronit Mishra
Hi, Its possible. And from what I am able to understand you're looking to create restful services for authentication and registration. Your solution: Django Rest Framework Its a very detailed procedure so I can't point out all the points here, but you can follow any decent tutorial and get it ac

Re: Query into Django ORM

2019-09-09 Thread Ronit Mishra
Hi Amit, Excuse me for my straight forwardness, but this not a challenge. From what I can see is, you want someone to write you the complete code for your models. You didn't even write a single line of code, and you're expecting someone to write the whole damn thing for you. Unless you're willing

Re: Regarding to nested serilizers

2019-09-05 Thread Ronit Mishra
so... > > On Thu, Sep 5, 2019 at 1:39 PM RONAK JAIN wrote: > >> I am getting same issue... >> >> >> Thanks >> >> On Wed, Sep 4, 2019 at 7:49 PM Ronit Mishra >> wrote: >> >>> Hey RJ, >>> >>> All your views have th

Re: Regarding to nested serilizers

2019-09-04 Thread Ronit Mishra
Hey RJ, All your views have the same name, that is probably the reason you're not able to view the salary field, since its displaying the first view i.e for employe_hireSerializer always. On Wed, Sep 4, 2019 at 7:11 PM RONAK JAIN wrote: > Hello > > > I am trying to do nested but I am not gettin

Re: JWT Token

2019-08-21 Thread Ronit Mishra
7;t know how to reach user information with token in views or > serializer. > > On Thu, Aug 22, 2019, 3:14 AM Ronit Mishra > wrote: > >> Hi, >> >> First step is to authenticate and obtain the token. For instance, lets >> say your endpoint is /api/token, so it&#

Re: JWT Token

2019-08-21 Thread Ronit Mishra
Hi, First step is to authenticate and obtain the token. For instance, lets say your endpoint is /api/token, so it'll only accepts POST requests. >> post http://127.0.0.1:8000/api/token/ username=mohammad password=123 You can use cURL, or HTTPie or Python's requests module to test this.. Heck you

Re: Regarding to suggestion for registration page

2019-08-19 Thread Ronit Mishra
Hi, If I've understood your issue correctly, you probably just need to add this lil' snippet in your settings.py LOGIN_REDIRECT_URL = '/' (or wherever you wanna redirect after login) Let me know if it works out for you! Regards, Ronnie On Tue, Aug 20, 2019 at 2:40 AM Smovie Makers Club wrote:

Re: django-admin error

2019-08-17 Thread Ronit Mishra
You've installed your django correctly. I can see the version in your snapshot. Also I think you're trying to call django-admin from a python shell. Just write the command 'django-admin startproject mysite' on the terminal/command prompt. This should do it. On Sun, Aug 18, 2019 at 4:08 AM Danie

Re: Isolate Django apps in different Docker containers

2019-08-15 Thread Ronit Mishra
Hi Guillaumae, Did you go ahead with this approach? If yes, then would you be kind enough to share your experience and maybe brief us about your process/journey? On Thursday, August 25, 2016 at 7:25:24 PM UTC+5:30, Guillaume Dupin wrote: > > Hello, > > On a Django project (which will consist o