Re: E-comm live project

2024-04-30 Thread shubham joshi
Hello @prabhjotbal...@gmail.com and team, Please consider me for e-comm project +91 8390246938 is my whpp number Thanks, shubham From: django-users@googlegroups.com on behalf of 1001_prabhjot Singh Sent: Monday, March 18,

Re: E-comm live project

2024-04-30 Thread shubham joshi
+91 8390246938 From: django-users@googlegroups.com on behalf of 1001_prabhjot Singh Sent: Monday, March 18, 2024 10:45 PM To: Django users Subject: E-comm live project so i am working on a full stack e-comm website and this project is really very big for me

Django based project app structure

2020-04-30 Thread shubham joshi
https://dpaste.org/o1sO#L89 this is my entire projects's model, how should i spit it into multiple apps? how to decide -- 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

ValueError: The QuerySet value for an exact lookup must be limited to one result using slicing

2020-02-06 Thread shubham joshi
https://github.com/shubham1507/TiffinApp/tree/development -- 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 view

lookup error at router

2019-09-05 Thread shubham joshi
I my users api - > https://github.com/shubham1507/school/blob/trial/users/urls.py *HTTP 200 OK**Allow:* GET, HEAD, OPTIONS*Content-Type:* application/json*Vary:* Accept { "teacher": "http://127.0.0.1:8000/users/teacher/;, "student": "http://127.0.0.1:8000/users/student/"} whenever I

how can we use single serializer with 2 differnt viewsets for registration considering the both reg form have different fields

2019-09-04 Thread shubham joshi
as you can see https://github.com/shubham1507/school/blob/trial/users/serializers.py I have created two serizer for two registrtion form shubham1507/school Contribute to shubham1507/school development by creating an account on GitHub. how can we use single serializer with 2 differnt

CustomAuthToken

2019-08-01 Thread shubham joshi
With reference to the documentation, https://www.django-rest-framework.org/api-guide/authentication/#how-authentication-is-determined I was trying to use CustomAuthToken, in my app view and import it in url from rest_framework.authtoken.views import ObtainAuthTokenfrom

super user login

2019-05-03 Thread Shubham Joshi
I have created the custom user model in Django and created a superuser , in admin panel its not logging in although the right cred is given https://github.com/shubham1507/school -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Getting an error while changng the name param in the model

2019-05-02 Thread Shubham Joshi
Hello I am getting an error https://github.com/shubham1507/school/tree/production/LoginAndReg error : unsupported operand type(s) for +: 'NoneType' and 'str' I have a deleted the default name param in the model and created username ,and made changes in the respective places -- You received

Re: Custom token based authentication in Django rest framework

2019-05-02 Thread Shubham Joshi
okay , I will go through it, Thanks a lot On Thu, May 2, 2019 at 3:10 PM Daviddd wrote: > I would suggest to have a look at: > https://getblimp.github.io/django-rest-framework-jwt/ > > D > > Il giorno giovedì 2 maggio 2019 11:34:32 UTC+2, Shubham Joshi ha scritto: >> &

Custom token based authentication in Django rest framework

2019-05-02 Thread Shubham Joshi
I have created a token based custom authentication, in which after registration, the token is generated, now whats the next step, how can I consume the token to the frontend? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

testing API

2019-04-22 Thread Shubham Joshi
I have created the custom model authentication in django rest , so far I dont have front end , so my question is , Im I done with the API, since on browser it gives an error TemplateDoesNotExist at / rest_framework/api.html that of course due to I dont have template, in postmen its giving {

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
School/lib/python3.5/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: relation "accounts_customuser" does not exist LINE 1: "date_joined", "accounts_customuser"."name

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
same error still On Tue, Apr 16, 2019 at 1:36 PM Vivek Jha wrote: > Delete all the old migrations and remigrate > > On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote: > >> Hello Vivek can you help me in this >> >> I am referring >> https://wsvincent.com/djang

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
rror: relation "accounts_customuser" does not exist LINE 1: "date_joined", "accounts_customuser"."name" FROM "accounts_... ^ completely unaware what happening

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
Ya it worked for me thanks On Tuesday, April 16, 2019 at 12:59:10 PM UTC+5:30, Vivek Jha wrote: > > python manage.py migrate --fake > > On Tue, 16 Apr 2019, 12:57 Shubham Joshi, > wrote: > >> >> --

getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
---error-- (School) snj@snj-ThinkPad-T440p:~/School$ python manage.py migrateOperations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying

Re: Django REST in Docker

2019-04-10 Thread Shubham Joshi
; it (docker run pip freeze). This will tell you of all the > packages you nee are there. > > Eric > > -- > *From:* django-users@googlegroups.com on > behalf of Shubham Joshi > *Sent:* Tuesday, April 9, 2019 10:54 > *To:* django-users@googlegroups.com >

upgrading the pip version in dockerized django container

2019-04-10 Thread Shubham Joshi
I am trying to upgrade pip version in docker snj@snj-ThinkPad-T440p:~/school$ sudo docker-compose run web pip install --upgrade pip Starting school_db_1 ... done Collecting pip Downloading

Custom multiuser login, registration in DRF

2019-04-09 Thread Shubham Joshi
I am developing a school website in DRF, in which admin, student teacher, and student are 3 users. So for admin only username and password is Okay, but for student and teacher, when they visit the website, they have to fill up a form which will be having custom fields DOb, roll no etc of

Re: Django REST in Docker

2019-04-09 Thread Shubham Joshi
f there would not > be some other problem ? > > Eric > > -- > *From:* django-users@googlegroups.com on > behalf of Shubham Joshi > *Sent:* Tuesday, April 9, 2019 07:30 > *To:* Django users > *Subject:* Django REST in Docker > > I had s

Django REST in Docker

2019-04-08 Thread Shubham Joshi
I had set up django in Docker, now I am trying to install pip packages , like rest_framework and added in installed apps too. but it throws ModuleNotFoundError: No module named 'rest_framework' , whats the generic way of installing the pip packages in existing dockerized django project -- You

how to delete the dockerized django app

2019-04-08 Thread Shubham Joshi
(EACCES: permission denied, unlink '/home/snj/school/composeexample2/__init__.py' -- 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

Custom sign up / log in for multi role in DRF

2019-04-07 Thread Shubham Joshi
My concern is I want to develop an API's for user registration having the multiple fields, there will be admin registration , after that, student/teacher registraion form. The form will be mailed to admin email for verification , if validated then student/teacher should able to login. --

How to inherit the user model in two apps in django rest,

2019-03-26 Thread Shubham Joshi
I want to create 2 separate signup form 1 for teacher and 1 for a student for that I created 2 apps and its respective models but it gives an error https://github.com/shubham1507/school == ERRORS: auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with

Re: Django REST custom registration

2019-03-26 Thread Shubham Joshi
thanks On Tue, Mar 26, 2019 at 8:33 AM Sam W wrote: > Similar question in Stackoverflow: > > > https://stackoverflow.com/questions/24791110/django-allauth-how-to-set-user-to-active-only-after-e-mail-verification/24809190 > > On Monday, March 25, 2019 at 4:17:11 AM UTC-5, s

custom registration form

2019-03-25 Thread Shubham Joshi
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in -- You received this message because you are subscribed

Django REST custom registration

2019-03-25 Thread shubham joshi
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in -- You received this message because you are subscribed

I am newbie to Django REST,

2019-02-02 Thread shubham joshi
How to use cookeicutter for setting up new project? -- 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