Re: チュートリアル 2

2019-11-05 Thread Takashi Sawa
Thank you for your help, The problems is now solved. Thank you! 2019年11月6日水曜日 12時32分10秒 UTC+9 Budi Hermansyah: > > replace def_str to def _str_(self): > > hope will help you... > > regards, > Herman > > On Wed, Nov 6, 2019 at 10:05 AM Takashi Sawa > wrote: > >> [image: キャプチャ.JPG] >> Djangoのチュートリ

Re: Making Django Form dynamically

2019-11-05 Thread Budi Hermansyah
try this... https://www.caktusgroup.com/blog/2018/05/07/creating-dynamic-forms-django/ On Wed, Nov 6, 2019 at 10:11 AM Jordan Micle wrote: > in general when we define django form we set the model of django in class > Meta, like below > > class Form(forms.ModelForm): > > class Meta: >

Re: チュートリアル 2

2019-11-05 Thread Budi Hermansyah
replace def_str to def _str_(self): hope will help you... regards, Herman On Wed, Nov 6, 2019 at 10:05 AM Takashi Sawa wrote: > [image: キャプチャ.JPG] > Djangoのチュートリアルを進めているのですが、models.py の編集で、9行目の「:」がなぜか問題として出てきてしまいます。なぜでしょうか。 > 教えてください。 > > -- > You received this message because you are subscrib

Re: beginner's question

2019-11-05 Thread Charles Jason Decena
Hi, what you have entered is a command on checking on what django version is installed on your machine, i suggest you create pipenv or venv everytime you create projects in order to eliminate other dependencies not required for your project Regards, Charles Jason Decena Developer 33F UnionBank P

Making Django Form dynamically

2019-11-05 Thread Jordan Micle
in general when we define django form we set the model of django in class Meta, like below class Form(forms.ModelForm): class Meta: model = ModelName fields = '__all__' But I am going to set this ModelName dynamically like this. class Form(forms.ModelForm, modelpar

チュートリアル 2

2019-11-05 Thread Takashi Sawa
[image: キャプチャ.JPG] Djangoのチュートリアルを進めているのですが、models.py の編集で、9行目の「:」がなぜか問題として出てきてしまいます。なぜでしょうか。 教えてください。 -- 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-u

Re: DJANGO, MySQL, NGINX stack for a production hosting server in Digital Ocean droplet

2019-11-05 Thread Ram
Hi, Thank you both of you. Should I assume that both documents would let me configure a production server for a highly dynamic web site? Cheers ~Ram On Tue, Nov 5, 2019 at 6:34 AM lemme smash wrote: > i'm recommend you to consider docker setup like > https://docs.docker.com/machine/examples/ocea

Set the model of Form automatically?

2019-11-05 Thread Jordan Micle
In general we create form and set the model in class Meta class Meta: model = SampleModel but I am going to set the model automatically. so I am going to make form dynamically. Is it possible? -- You received this message because you are subscribed to the Google Groups "Django users" group

Parent-child-grandchild list

2019-11-05 Thread Terry Sankar
*class Per*son(models.Model):"""Class that manages the person model fields"""first_name = models.CharField(max_length=40)last_name = models.CharField(max_length=45) def __str__(self):return self.first_name class Order(models.Model): po = models.CharField(nul

Re:

2019-11-05 Thread Kasper Laudrup
Hi Paras, On 05/11/2019 19.04, Paras Jain wrote: bro i was asking the code how to use it to send , email and password  to particular email No you didn't. You wrote: on hitting submit i have to send email and password to user email id which will be used for login in django How is anyone s

Re:

2019-11-05 Thread Integr@te System
plz go to check send mail module. On Wed, Nov 6, 2019, 01:05 Paras Jain wrote: > bro i was asking the code how to use it to send , email and password to > particular email > > On Tue, Nov 5, 2019 at 6:30 PM Suraj Thapa FC > wrote: > >> Send it then >> >> On Tue, 5 Nov 2019, 5:38 pm Paras Jain,

help with inline

2019-11-05 Thread Elias Coutinho
Hello, In this project I use: django-material (http://docs.viewflow.io/material_forms.html) and materializecss (https://materializecss.com/select.html) In your example without these js and css libraries it works perfectly, ie with pure html it's beautiful. I tried to add these libraries and it

Re:

2019-11-05 Thread Paras Jain
bro i was asking the code how to use it to send , email and password to particular email On Tue, Nov 5, 2019 at 6:30 PM Suraj Thapa FC wrote: > Send it then > > On Tue, 5 Nov 2019, 5:38 pm Paras Jain, wrote: > >> on hitting submit i have to send email and password to user email id >> which wil

Re: how to login to Django

2019-11-05 Thread Bob Gailer
Please always provide a subject in your email. Your question unfortunately is vague could you flesh it out with more detail? On Nov 5, 2019 8:00 AM, "Suraj Thapa FC" wrote: Send it then On Tue, 5 Nov 2019, 5:38 pm Paras Jain, wrote: > on hitting submit i have to send email and password to us

Re: backend for Arduino

2019-11-05 Thread Bob Gailer
Google hotbot Arduino. On Nov 5, 2019 8:02 AM, "Pranjul Kimothi" wrote: > How Can I use Django as backend for an Arduino application .?? Any > suggestions > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group a

Re: FileField in custom field

2019-11-05 Thread Simonas Pilkauskas
I think you misread my question. FileFields in Models work for me just fine (I have already defined MEDIA_ROOT and figured out directory stuff). However, I need to have FileField in Field and that Field in Model, but having such hierarchy throws error. 2019 m. lapkritis 5 d., antradienis 15:42:3

Re: beginner's question

2019-11-05 Thread Sarma Bhamidipati
Did you activate your application? Have you added your python path to path variable? On Tuesday, November 5, 2019 at 3:25:00 PM UTC, Takashi Sawa wrote: > > 今再度挑戦したら、次はこれが出てきました。 > > > C:\Users\sour->python -m django --version > 2.2.7 > > C:\Users\sour->django-admin startproject mysite > > C:\User

Re: Djangorest framework tutorial

2019-11-05 Thread yazdan410
I don’t understand Spanish sorry Sent from my iPhone > On Nov 5, 2019, at 10:34 AM, Ing.Daniel Bojorge wrote: > > Hi, look my course. > https://www.udemy.com/course/restful-api-con-python-usando-django-rest-framework/?couponCode=PROMO-OCT-09 > > It's in spanish. > > > Dios L@s Bendiga >

Re: beginner's question

2019-11-05 Thread Takashi Sawa
Thank you! 出来ました! 2019年11月6日水曜日 0時28分02秒 UTC+9 Ronaldo Mata: > > You are trying to run that command on the python interpreter. > > try run that command outside python interpret. > > El mar., 5 nov. 2019 a las 11:23, Jordan Micle ( >) escribió: > >> >> >> if you are going to check the version of in

Re: beginner's question

2019-11-05 Thread Takashi Sawa
Thank you! 出来ました! 2019年11月6日水曜日 0時28分47秒 UTC+9 Jordan Micle: > > cd mysite >> > input this command > -- 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-us

Re: Djangorest framework tutorial

2019-11-05 Thread Ing.Daniel Bojorge
Hi, look my course. https://www.udemy.com/course/restful-api-con-python-usando-django-rest-framework/?couponCode=PROMO-OCT-09 It's in spanish. Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image: http://]about.me/daniel.bojorge [imag

Re: beginner's question

2019-11-05 Thread Jordan Micle
> > cd mysite > input this command -- 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 this discussion on the we

Re: beginner's question

2019-11-05 Thread Ronaldo Mata
You are trying to run that command on the python interpreter. try run that command outside python interpret. El mar., 5 nov. 2019 a las 11:23, Jordan Micle () escribió: > > > if you are going to check the version of installed django > > django-admin --version > >> >> -- > You received this messa

Re: pass parameter from one class view to another

2019-11-05 Thread Bruckner de Villiers
I assume that you want to access the DetailView form the ListView?? To do that your List View template (which should be shop_list.html) should contain {{field}} – {{field}} I don’t see your models.py so don’t know what the fields are, but here is an example of my code for a model called Organis

Re: beginner's question

2019-11-05 Thread Takashi Sawa
今再度挑戦したら、次はこれが出てきました。 C:\Users\sour->python -m django --version 2.2.7 C:\Users\sour->django-admin startproject mysite C:\Users\sour->python manage.py runserver python: can't open file 'manage.py': [Errno 2] No such file or directory C:\Users\sour-> なにが問題でしょうか。 2019年11月6日水曜日 0時07分01秒 UTC+9 S

Re: beginner's question

2019-11-05 Thread Jordan Micle
if you are going to check the version of installed django django-admin --version > > -- 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...

Re: beginner's question

2019-11-05 Thread Takashi Sawa
日本語で失礼致します。 https://docs.djangoproject.com/en/2.2/intro/tutorial01/ これに今挑戦しているのですが、どうしてもさっきの「Error」が出てしまいます。 2019年11月6日水曜日 0時07分01秒 UTC+9 Siratim Mustaquim: > > Can you elaborate a little bit? that command checks the version of django > that is currently installed. > > > On Tue, Nov 5, 2019 at

Re: beginner's question

2019-11-05 Thread Siratim Mustaquim
Can you elaborate a little bit? that command checks the version of django that is currently installed. On Tue, Nov 5, 2019 at 9:00 PM Takashi Sawa wrote: > File "", line 1 > python -m django --version > ^ > SyntaxError: invalid syntax > > What's this? > > -- > You received t

Re:

2019-11-05 Thread Bruckner de Villiers
Udemy has a good course leading up to this topic – Python and Django Full Stack Web Development, still based on Django 1.x, but Django 2.x code is incuded. Regards, Bruckner de Villiers 083 625 1086 From: on behalf of Paras Jain Reply to: Date: Tuesday, 05 November 2019 at 07:41 To:

beginner's question

2019-11-05 Thread Takashi Sawa
File "", line 1 python -m django --version ^ SyntaxError: invalid syntax What's this? -- 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: FileField in custom field

2019-11-05 Thread Integr@te System
Hi Issuer, please see: In your settings file, you’ll need to define MEDIA_ROOT as the full path to a directory where you’d like Django to store uploaded files. (For performance, these files are not stored in the database.

Re: DJANGO, MySQL, NGINX stack for a production hosting server in Digital Ocean droplet

2019-11-05 Thread lemme smash
i'm recommend you to consider docker setup like https://docs.docker.com/machine/examples/ocean/ https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#nginx On Tuesday, November 5, 2019 at 1:27:55 AM UTC+3, Ram wrote: > > Hi, > Please let me know if anyone has setup this s

[no subject]

2019-11-05 Thread Pranjul Kimothi
How Can I use Django as backend for an Arduino application .?? Any suggestions -- 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...@googlegro

FileField in custom field

2019-11-05 Thread Simonas Pilkauskas
Hello, I want to setup a Model like this , but apparently FileField in custom field doesn't work out of box (when trying to save, I get the error "can't adapt type 'TemporaryUploadedFile'"). FileField,

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-11-05 Thread amul justin
Tq so much bro can u send u r contact number pls im from tamilnadu On Saturday, July 20, 2019 at 6:32:21 PM UTC+5:30, Desh Deepak wrote: > > Sorry for the late reply, > > You can try these commands on your terminal:- > > pip uninstall Django > > Then > > pip install Django 2.0 > > and try to run

Re:

2019-11-05 Thread Suraj Thapa FC
Send it then On Tue, 5 Nov 2019, 5:38 pm Paras Jain, wrote: > on hitting submit i have to send email and password to user email id which > will be used for login in django > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: Webhook creation for shopify

2019-11-05 Thread DANIEL URBANO DE LA RUA
https://help.shopify.com/en/api/reference/events/webhook here you have the documentagtion El mar., 5 nov. 2019 a las 12:46, Saswat Ray () escribió: > HI, > Can anyone help me creating a webhook for shopify > > *Thanks*, > *Saswat* > > > -- > You received this message because you are subscribed t

[no subject]

2019-11-05 Thread Paras Jain
on hitting submit i have to send email and password to user email id which will be used for login in django -- 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 djang

Re: Webhook creation for shopify

2019-11-05 Thread Kasper Laudrup
Hi Saswat, On 05/11/2019 12.46, Saswat Ray wrote: HI, Can anyone help me creating a webhook for shopify As long as you don't provide any kind of information, like what you want to achieve, what you have tried, where you are facing problems then the answer to that answer is simple: No, no on

Webhook creation for shopify

2019-11-05 Thread Saswat Ray
HI, Can anyone help me creating a webhook for shopify *Thanks*, *Saswat* -- 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.c

Re: ListView is not showing me the latest created item made by CreateView !

2019-11-05 Thread Budi Hermansyah
are your query on ListView get_query method already put order_by ? On Tue, Nov 5, 2019 at 1:38 PM Parth Joshi wrote: > Can you share some code snippet to have better clarity? > > > On Sunday, 3 November 2019 20:33:45 UTC+5:30, Franz Ulenaers wrote: >> >> ListView is not showing me the latest cre