Re: Please help me

2018-07-04 Thread TimT Vogt
Just do Some more tutorials from https://wsvincent.com/django-models-best-practices/ Verstuurd vanaf mijn iPhone > Op 5 jul. 2018 om 08:42 heeft Chaitanya Kulkarni > het volgende geschreven: > > Done with views and template portion... > Only model is remaining... > We have to write the column

Re: Please help me

2018-07-04 Thread Chaitanya Kulkarni
Done with views and template portion... Only model is remaining... We have to write the column header names in that ?? On Thu, Jul 5, 2018, 11:12 AM Kasper Laudrup wrote: > Hi Chaitanya, > > On 2018-07-05 07:38, Chaitanya Kulkarni wrote: > > Its just i am fresher.. i m on a learning process

Re: Please help me

2018-07-04 Thread Kasper Laudrup
Hi Chaitanya, On 2018-07-05 07:38, Chaitanya Kulkarni wrote: Its just i am fresher.. i m on a learning process and i m still not in a job role... So was asking for help me to learn You're not going to learn anything by having others do your work for you. If you want to learn then start

Re: About Forms

2018-07-04 Thread Kasper Laudrup
Hi there, On 2018-07-05 05:23, mr.sathee...@gmail.com wrote: I have two classes in forms.py with one char field and I want to view both at HTML through the views.py . This is described in section four of the easy-to-follow tutorial: https://docs.djangoproject.com/en/2.0/intro/tutorial04/ I

Re: Please help me

2018-07-04 Thread Chaitanya Kulkarni
Its just i am fresher.. i m on a learning process and i m still not in a job role... So was asking for help me to learn On Thu, Jul 5, 2018, 11:04 AM Kasper Laudrup wrote: > Hi Chaitanya, > > On 2018-07-05 05:18, Chaitanya Kulkarni wrote: > > Can u please write it for me... > > Just once for

Re: Please help me

2018-07-04 Thread Kasper Laudrup
Hi Chaitanya, On 2018-07-05 05:18, Chaitanya Kulkarni wrote: Can u please write it for me... Just once for a demo I'm not gonna do your job for you and certainly not for free. If you're looking for consultants with experience in Django then state that up front instead of pretending to a

About Forms

2018-07-04 Thread mr . satheesh4
I have two classes in forms.py with one char field and I want to view both at HTML through the views.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 django

Re: Please help me

2018-07-04 Thread Chaitanya Kulkarni
Can u please write it for me... Just once for a demo On Thu, Jul 5, 2018, 1:42 AM Kasper Laudrup wrote: > Hi there, > > On 2018-07-04 20:02, chaitanya.140180107...@gmail.com wrote: > > I am beginner... > > I want a Django project to import csv file and represent it in html > page. ...please

Issue with comparison of Count outcome in queryset

2018-07-04 Thread Magnus Ljungkrantz
To give you simplest possible example of my problem, let us say we have a table holding data about physical cars. It has many fields but "make" and "model" are two of them. The following SQL will group on make and let me know with "yes "or "no" whether there is more than one model within each

Re: Please help me

2018-07-04 Thread Kasper Laudrup
Hi there, On 2018-07-04 20:02, chaitanya.140180107...@gmail.com wrote: I am beginner... I want a Django project to import csv file and represent it in html page. ...please I assume you have already followed the excellent Django tutorial at: https://docs.djangoproject.com/en/2.0/intro/ So y

Re: Please help me

2018-07-04 Thread Oladipupo Elegbede
What have you done? To get a python script to import data from csv isn't big of a deal. There numerous libraries you can take advantage of. Just Google reading a cab file with python. To put those data in an html page is also not a big deal. However, you need to be more explicit to greet any form o

Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
Hello Carlo, How can you tell the difference? Unless I am looking at the google images incorrectly, they look very similar. Here's the image from the Django CMS documentation: http://docs.django-cms.org/en/release-2.4.x/getting_started/tutorial.html

Please help me

2018-07-04 Thread chaitanya . 140180107011
I am beginner... I want a Django project to import csv file and represent it in html page. ...please -- 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-use

Re: I can't see my models in MySQL db

2018-07-04 Thread A. Azimzadeh
Polls app is empty. The problem is in django_sb_admin How i can find the root cause of problem and fix that? On Wed, Jul 4, 2018, 18:26 Jason wrote: > You told it to make migration for the app django_sb_admin, but that > apparently doesn't include polls. > > try making another migration withou

Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Carlo Ascani
Il giorno mer 4 lug 2018 alle ore 19:00 Brandon ha scritto: > > There's a site that a friend needed looking into, He's just the Marketing guy > so he wouldn't know for sure. > I get the feeling the site was created with Django and NOT Django CMS, is > there any way to tell without having access

Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
There's a site that a friend needed looking into, He's just the Marketing guy so he wouldn't know for sure. I get the feeling the site was created with Django and NOT Django CMS, is there any way to tell without having access to the back-end? Thank you in advance. -- You received this message b

Re: django send_mail on production (gmail)

2018-07-04 Thread Kamal Sharma
Hey Jason, Thanks for suggestion i am i would like to try maiichimp because it is new for me Thank you On Wed, Jul 4, 2018 at 7:28 PM Jason wrote: > If you're hitting that limit, then you should either use your own mail > server or use mailchimp/some other service. There's nothing stopping th

Re: Many to Many fields and through table

2018-07-04 Thread johnasmith . dev
Hi Mark, Thank you for your question, I might actually do the same. I just had issues on a model with 2 M2M relationships (one using an intermediary table, one without). I would just caveat what James Schneider said, there are some differences. My simply M2M relationship threw me Field Requir

Re: Can't access my django runserver

2018-07-04 Thread Umar Kambala
Please I made the correction and am still getting the same error On Jul 1, 2018 10:43 PM, "Jason" wrote: You're importing the wrong thing *from django import templates* should be *from django import template* no "s" on the latter -- You received this message because you are subscribed to th

Re: 2.1b1: Getting "unexpected keyword argument 'limit_choices_to'"

2018-07-04 Thread Markus Holtermann
Thanks for the report Axel. This seems to be the same issue as the one reported in https://code.djangoproject.com/ticket/29449 . A fix for this is coming with the next pre release (beta 2 or RC1). /Markus On Wednesday, July 4, 2018 at 1:46:54 PM UTC+2, axel...@chaos1.de wrote: > > Hi, > > I tr

Re: 2.1b1: Getting "unexpected keyword argument 'limit_choices_to'"

2018-07-04 Thread Jason
You might want to add that to the developers mailing list at https://groups.google.com/forum/#!forum/django-developers or make a bug report on the django issue tracker. If its working in 2.0, then there's a regression happening. On Wednesday, July 4, 2018 at 7:46:54 AM UTC-4, axel...@chaos1.d

Re: django send_mail on production (gmail)

2018-07-04 Thread Jason
If you're hitting that limit, then you should either use your own mail server or use mailchimp/some other service. There's nothing stopping this issue from happening again with gmail. So your fix is just a temporary one -- You received this message because you are subscribed to the Google Gro

Re: django-raster rendering raster url

2018-07-04 Thread Xristos Xristoou
Τη Τετάρτη, 4 Ιουλίου 2018 - 4:54:23 μ.μ. UTC+3, ο χρήστης Jason έγραψε: > > No. Ever see a tile floor? each tile is one image with a filename. you > use the x y coordinates to get the path to that image > how to find this information ?because that image converting to 3857 system? -- You

Re: I can't see my models in MySQL db

2018-07-04 Thread Jason
You told it to make migration for the app django_sb_admin, but that apparently doesn't include polls. try making another migration without the app name qualifier and running it. On Wednesday, July 4, 2018 at 9:20:49 AM UTC-4, ali reza wrote: > > Greetings! > > *Note:* > mysite is the name of

Re: django-raster rendering raster url

2018-07-04 Thread Jason
No. Ever see a tile floor? each tile is one image with a filename. you use the x y coordinates to get the path to that image -- 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, se

Re: django-raster rendering raster url

2018-07-04 Thread Xristos Xristoou
hello you mean that need height/width or some pixel inside in image ? thank you Τη Τρίτη, 3 Ιουλίου 2018 - 11:33:09 μ.μ. UTC+3, ο χρήστης Jason έγραψε: > > No, they don't mean coordinates, they mean the actual index location in a > grid. > > Say you have a 100x100 grid, each (x, y) coordinate

I can't see my models in MySQL db

2018-07-04 Thread ali reza
Greetings! *Note:* mysite is the name of project. django_sb_admin and polls are my apps. python version: 3.6.6 I used *inspectdb* for creating *models.py* for *django_sb_admin* application. *pyhton3 manage.py inspectdb > models.py* # Here inspectdb worked fine. then is moved models.py into djang

csrf_exempt decotator not working

2018-07-04 Thread npranita2
Hi, I am integrating instamojo payment gateway with django application. After a successful or a failed transaction Instamojo will POST the transaction details to the webhook URL. I am getting 403 error at do_POST method Sample code for webhook - https://support.instamojo.com/hc/en-us/article

2.1b1: Getting "unexpected keyword argument 'limit_choices_to'"

2018-07-04 Thread Axel Rau
Hi, I tried 2.1b1 with my 2.0.6 project and at got this error on startup: —- (erdb_d2.1+p3.6) axels-imac:ERDB2 ajr$ django-admin check /usr/local/py_env/erdb_d2.1+p3.6/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; i

Re: django send_mail on production (gmail)

2018-07-04 Thread Kamal Sharma
Hi Mikhailo, Thank you for reply. My send_mail problem has been resolved by changing the email id in production. Actually i have sent a lot of mails in production and then after a point it stop working as the gmail rule that we cannot use a large no of mail in free in just one day, gmail allow o