How to design database for django rest api

2019-05-05 Thread RONAK JAIN
Hello, I am trying to start a new website in Django so the whole website my task is here make Django rest API. I have an angular template which is related to education + eCommerce there. So, I am not getting here how can I start to make Django rest API and what is my first step? because of mostl

Regarding to trying to make Django rest Api for eCommerce project.

2019-06-06 Thread RONAK JAIN
Dear All, *Note: trying to make Django rest Api for eCommerce project.* I am working drf eCommerce project. I am trying to make product rating and review Django Rest Api. *Models.py* class Product_review(models.Model): user_id = models.ForeignKey(User_registrations, on_delete=models.CASCAD

Re: text editor

2018-09-01 Thread RONAK JAIN
Atom is best editor. On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, wrote: > > Hi to all, > Which is the best editor for django framework in Ubuntu os > 18.04 > > Get Outlook for Android <https://aka.ms/ghei36> > > > > > On Sun, Sep 2, 2018

Re: text editor

2018-09-01 Thread RONAK JAIN
Both of the same atom is best and option sublime or Pycharm. Thanks Ronak Jain On Sun, 2 Sep 2018, 11:25 a.m. sankar ardhas, wrote: > Thanks for response.. for Windows? > > > On Sep 2, 2018 11:21 AM, "RONAK JAIN" wrote: > >> Atom is best editor. >> >

Re: Django templates render

2018-09-01 Thread RONAK JAIN
between in models ? 2. How can i do HTML page should load from our db ? Thanks Ronak Jain On Sun, 2 Sep 2018, 2:01 a.m. Jason, wrote: > I'm sorry, I have no idea what you're trying to do. what exactly is > correct relationship and what is different from the render output t

Re: text editor

2018-09-02 Thread RONAK JAIN
can you come on Skype or teamviewer. Thanks Ronak Jain On Sun, Sep 2, 2018 at 3:04 PM Kasper Laudrup wrote: > > > On 02/09/2018 07.50, RONAK JAIN wrote: > > Atom is best editor. > > > > No, no, no. Everyone knows emacs is the best editor. > > -- > You r

Re: text editor

2018-09-02 Thread RONAK JAIN
Hello Kasper can I share me my screen ? Thanks Ronak Jain On Sun, Sep 2, 2018 at 5:51 PM Kasper Laudrup wrote: > Hi Vishal, > > On 02/09/2018 13.48, vishal sharma wrote: > > Hi All, > > How to upload files back to node server. I am new in ApI I am using the > > Dj

Re: text editor

2018-09-02 Thread RONAK JAIN
okay, Thanks On Sun, Sep 2, 2018 at 7:29 PM Kasper Laudrup wrote: > Hi Ronak, > > On 02/09/2018 14.57, RONAK JAIN wrote: > > okay Thanks > > *Portfolio Page * > > There are portfolio images and categories above it. We want to do the > same > > So n

Re: Language code twice in url

2018-09-04 Thread RONAK JAIN
Please analyse your url mapping in django.. Thanks On Tue, Sep 4, 2018 at 1:40 PM Kaelig wrote: > [image: error_message.png] > > Here is the error message I got from debug > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: Language code twice in url

2018-09-04 Thread RONAK JAIN
okay one more thing you can do please go to settings and look there option DEBUG=False please do True. On Tue, Sep 4, 2018 at 1:41 PM Kaelig wrote: > [image: error_message.png] > > Here is the error message I get > > -- > You received this message because you are subscribed to the Google Groups

Re: Language code twice in url

2018-09-04 Thread RONAK JAIN
I am not getting direct error because more time you will get this type of error if you want to solve this one we can do connect on team viewer and then Maybe, I will solve your error. Thanks Ronak Jain On Tue, Sep 4, 2018 at 1:49 PM Kaelig wrote: > Debug is already set to True.. Even i

Re: Need help for saving JSON object into Django Model (class object)

2018-09-04 Thread RONAK JAIN
hello Sonali Please use: python manage.py makemigrations python manage.py migrate Thanks Ronak Jain On Tue, Sep 4, 2018 at 5:52 PM Sonali Vighne wrote: > Hi, > I have create a model > > Models.py > > from django.db import models > import datetime > from django.utils i

Re: Trying to build a cart using django cart. "" error unhashable type dict ""

2018-09-04 Thread RONAK JAIN
Are you not using class ? On Tue, Sep 4, 2018 at 6:44 PM carl collins wrote: > Here is the code for view.py in my cart app please help(also see the > screenshot): > > > from django.template import loader > from django.http import HttpResponse > from django.template.loader import render_to_strin

Re: Trying to update pip in a venv enviroment using python 3.7 but an error occur.

2018-09-04 Thread RONAK JAIN
I am not getting What you want install there ? On Tue, Sep 4, 2018 at 6:44 PM Christian Haugland < haugland.christ...@gmail.com> wrote: > this is the output i get using python 3.7: any idea? > > (venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip > Collecting pip > Using

Re: saleor error NoReverseMatch at /en/

2018-09-04 Thread RONAK JAIN
I think should be there cot's issues look like that you should right there: Thanks Ronak Jain On Tue, Sep 4, 2018 at 6:44 PM Ravi Kiran Katukam wrote: > any one developed kivy app for enterprise needs along with django web > need help > > On Tue, Sep 4, 2018 at 5:46

Re: Django dynamic form class creation at runtime

2018-10-22 Thread RONAK JAIN
You can create Model and configure admin then you will get your way. -- 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. T

django assignment

2018-10-27 Thread RONAK JAIN
Hi Please help me out this assignment urgent. How can I solve ? Thanks RJ -- 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...@googleg

Re: django assignment

2018-10-27 Thread RONAK JAIN
Why are you thinking this is cheating I have done there more think I need idea for do better. so , I was asking if you are thinking like that please don't give me answer. Thank you Ronak Jain On Sun, Oct 28, 2018 at 10:59 AM Joel Mathew wrote: > Isn't this cheating? Why dont you

Re: Job opporunity for an experienced Django/Python software engineer - Corvallis, OR (Remote possible)

2019-07-26 Thread RONAK JAIN
Thanks, Nikolas Stevenson-Molnar. I don't have update resume yet so please go best representing my profile here, https://www.linkedin.com/in/ronakjainpython/ Thanks & Regards Ronak Jain On Fri, Jul 26, 2019 at 7:50 AM Nikolas Stevenson-Molnar < nik.mol...@consbio.org>

Re: Regarding to Correction my error

2019-08-14 Thread RONAK JAIN
Thanks for help... On Wed, Aug 14, 2019 at 7:27 PM Manzur Alahi wrote: > For image: use *** src = "{{course.img.url}}" > > for the horizontal list issue, that seems to be an issue with html or css > styling, sorry to say i'm not good with these things. > > -- > You received this message because

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
Hey, could you delete your migrations files and again try to create makemigrations and migrate... Thanks On Wed, Aug 14, 2019 at 11:45 PM Kean wrote: > Hi, > > Thanks for response. I have tried to migrate several times. > shell response from django is ‘No migrations to apply” > > Not sure if

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
If you will not get please let me know, I will help you on Teamviewer... On Wed, Aug 14, 2019 at 11:48 PM RONAK JAIN wrote: > Hey, could you delete your migrations files and again try to create > makemigrations and migrate... > > > > Thanks > > On Wed, Aug 14, 2019

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
Okay, so please conect with me on teamviewer... On Thu, 15 Aug 2019, 00:23 Kean, wrote: > Hi, > > closed down instance django running > deleted db.sqlite3 > run python3 manage.py makemigrations > run python3 manage.py migrate > > all exceptions were handled and migrate file created. > > checked

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
I think , getting same error.. On Thu, 15 Aug 2019, 00:43 Kean, wrote: > Hi, > > Thanks for the help, it is making progress I think. > Since deleting and recreating, I now have a different error. > > Please see below: > > OperationalError at /admin/accounts/businessownercreate/ > > no such tabl

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
I need your id and password On Thu, 15 Aug 2019, 00:45 Kean, wrote: > HI Ronak, > > Ok, please can you guide me through how to do this, I have team viewer? > > Thanks, > > Kean > On 14 Aug 2019, at 20:12, RONAK JAIN wrote: > > Okay, so please conect with me on te

Re: operational error no such column: accounts_businessownercreate.id

2019-08-14 Thread RONAK JAIN
So you can conect with me on hangout... On Thu, 15 Aug 2019, 00:47 RONAK JAIN, wrote: > I need your id and password > > On Thu, 15 Aug 2019, 00:45 Kean, wrote: > >> HI Ronak, >> >> Ok, please can you guide me through how to do this, I have team viewer? >>

Re: Can't run manage.py

2019-08-15 Thread RONAK JAIN
Hey, You can do simply first of all remove your virtualenv path write there. rm -rf env (or whatever created name for environment..) Then , again simply create your virtual path : virtualenv -p python3 env && source env/bin/activate I think , you cando easily and if you will get any type of

Re: Can't run manage.py

2019-08-15 Thread RONAK JAIN
You can do uninstall and try to do it again I think. you installed the wrong version. or if you will get again error please let me know I will connect with you on TeamViewer and Zoom also. Thank On Thu, 15 Aug 2019, 18:01 chevalier, wrote: > > > On Wednesday, August 14, 2019 at 4:58:44 PM UTC

Re: Exception value name is not defined

2019-08-15 Thread RONAK JAIN
Hey Kean, What is the object here? On Thu, Aug 15, 2019 at 11:37 PM Kean wrote: > Hi, > > I have written the following code in views.py > > def editremovebusiness(request): > data = Businessownercreate.objects.all() > context = { > 'Creator': obj.Creator, > 'Micro_Small_Medium': obj.Micro_Sm

Re: use site's templates

2019-08-15 Thread RONAK JAIN
Hey , You can use for the load your base.html {% extends "project/base.html" %} I will give some example for better understanding so, if you are trying to Extend your html file in your index.html file so, you can write simply according to me: {% load static %} {% extends 'base.html' %} {% bl

Re: Code wont let me pull data to modelform from database, :(

2019-08-16 Thread RONAK JAIN
Hey , I think , i am not sure but got it so here you need to develop url from the templates it's mean you are trying your url from tenplate page Right? So , if you are connecting with them i think you need to correction on your url form... Please let me first , i am getting right then, i w

Re: Template Does Not Exist

2019-08-19 Thread RONAK JAIN
Hey can you remove learning_logs in views.py? please simply write inside view.py : *return render(request, 'index.html')* Maybe it will work for you. Thanks On Mon, Aug 19, 2019 at 4:17 PM Naty Mina wrote: > *,hi guys* > finally i could run my project but when i'm trying to open the hom

Re: Regarding to suggestion for registration page

2019-08-21 Thread RONAK JAIN
;> django-users@googlegroups.com> wrote: >> >>> I guess you have forgotten to mention the APP name under which the pages >>> are created. Please cross-verify on my observation . >>> >>> Regards, >>> Amitesh Sahay >>> *91-750 797 861

Django Template url mapping

2019-08-21 Thread RONAK JAIN
Hi I am new in Django I am doing struggle with add Django templates using by inheritance. so when I am trying within *Example:: index.html add inside the blog.html but, *I am getting the direct blog.html, not index.html on the index page. so I used simply in index.html. *index.html:* {%.

Re: Django Version to be used on for Windows Server 2016 and MS SQL 2016

2019-09-03 Thread RONAK JAIN
Hi Django-user, You can do simply change in* Settings.py.* 1. *First go on settings.py and look data base connection which is connect with default dbsqlite3.* 2. *Remove there.* 3. *Search on google how to integrate mysql with django..* 4. *then connect with your django* 5. *Ma

Re: Regarding to nested serilizers

2019-09-05 Thread RONAK JAIN
please check it output also... 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 the same name, that is probably

Re: Regarding to nested serilizers

2019-09-05 Thread RONAK JAIN
ields. > Are you sure you've data for your salary model? > > On Thu, Sep 5, 2019 at 1:41 PM RONAK JAIN wrote: > >> please check it output also... >> >> On Thu, Sep 5, 2019 at 1:39 PM RONAK JAIN wrote: >> >>> I am getting same issue... >>&g

Re: How to write raw SQL or ORM for Count

2019-12-02 Thread RONAK JAIN
What you want to hear please cear that one.. Thanks On Mon, 2 Dec 2019, 19:13 xiaopeng luo, wrote: > I am new to django ORM, I want query something like this: > > input: > AAAfemale1 > AAAfemale2 > BBBmale 1 > BBBmale 3 > AAAmale 2 > > > > output >

Re: Please check

2020-01-10 Thread RONAK JAIN
Please help me out what can I write code in views? On Fri, Jan 10, 2020 at 4:58 PM RONAK JAIN wrote: > > I am doing save data in form but models inside foreign key how can I save > data in my form? > > > > Sharing screen shorts please check. > > > > -- You