Re: Running tests creates many unnecessary files

2019-06-30 Thread Volodymyr Sergeyev
Hi, It looks tests creates files in https://github.com/speedy-net/speedy-net/blob/eda003a38e1584f38c7e8ef98918d989c2d1801a/speedy/core/uploads/tests/test_views.py#L24 these temp files should be removed after they closed, but it looks it is not closed after tests executed. Regards, V. On Frida

Re: Polls app not showing?

2019-06-30 Thread Joe Reitman
What does your project directory look like? On Sunday, June 30, 2019 at 8:29:02 PM UTC-5, Scott Winter wrote: > > Sorry, you'll have to be clearer than that. Not sure how to do that nor > how it relates to the issue > > On Friday, June 28, 2019 at 12:28:33 AM UTC-4, karthikvignesh28 wrote: >> >

Re: Polls app not showing?

2019-06-30 Thread Scott Winter
Sorry, you'll have to be clearer than that. Not sure how to do that nor how it relates to the issue On Friday, June 28, 2019 at 12:28:33 AM UTC-4, karthikvignesh28 wrote: > > Create virtual environment > > On Fri, Jun 28, 2019, 6:14 AM ScottW > > wrote: > >> The server ran a few weeks ago before

Re: deploy django on AWS

2019-06-30 Thread Aldian Fazrihady
Experimenting on AWS features is the best way to learn. You shouldn't worry about cost when you only experimenting 1-3 hours per day and immediately stop your running AWS CPU resources when you are done. Moreover, if you are using a new AWS account, you get 1 year of free access to many resources

Re: Help me fix this chat feature

2019-06-30 Thread Aldian Fazrihady
I think if you run multiple users on the same PC, you should use different browsers, or at least private/incognito mode. It is because Django gave one browser session to one user. If you are still using one browser, Django thinks only one user accessing the app. Regards, Aldian Fazrihady On

Re: Help

2019-06-30 Thread Charlotte Wood
can you use a form/model/template instead? Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#: 4055785701 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912 Classroom Google Site: https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home Epic Technical S

Re: Sending Email from form

2019-06-30 Thread Sithembewena L. Dube
Basically, you would need to build it in string form. This could be done through a combination of string interpolation and concatenation. Here is my quick hack below (I have not shown all the code). There is a cleaner way to do this, e.g. using templates, but I wanted something that would "just

Re: deploy django on AWS

2019-06-30 Thread Malcolm MacKinnon
I use this: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html There's a lot more to learn, especially if you want to connect to a database like postgres, but this is a good place to start. On Sun, Jun 30, 2019 at 9:52 AM Anirudh Jain wrote: > > You can use

Help me fix this chat feature

2019-06-30 Thread Rizqullah T
This is my pet project to build a skill exchange platform. For 3 days I've been banging my head to make the chat working properly. Suppose I logged in as user A then chat to user B, I open another window then logged in as user B, but whenever I try to chat it will always connected to user A. Che

Re: Nested dictionaries

2019-06-30 Thread Joe Reitman
I use the JSON module to encode and decode JSON. On Sunday, June 30, 2019 at 9:26:04 AM UTC-5, David Elphee wrote: > > I guess I don’t even need Django or models to do what I described. But > yes, for future functionality, I’d like to be able to store JSON to a > database. > -- You received

Re: deploy django on AWS

2019-06-30 Thread Joe Reitman
https://www.zappa.io/ It's not easy to configure but it does work well when up and running. On Sunday, June 30, 2019 at 11:37:20 AM UTC-5, Harshit wrote: > > Hello Django users, > I want to host my django website on aws, This is first time that i am > hosting a website. Can u suggest any good re

Re: deploy django on AWS

2019-06-30 Thread Joe Reitman
https://www.zappa.io/ On Sunday, June 30, 2019 at 11:37:20 AM UTC-5, Harshit wrote: > > Hello Django users, > I want to host my django website on aws, This is first time that i am > hosting a website. Can u suggest any good resource from which i can learn? > > Thank you > -- You received this m

Re: deploy django on AWS

2019-06-30 Thread Anirudh Jain
You can use ubuntu+nginx+gunicorn. There are some blogs on digital ocean regarding deployment. After you launch an ec2 instance on aws and connect to it via ssh from terminal, it won't matter whether you are using aws or digital ocean. On Sun, 30 Jun 2019, 22:07 Harshit Agarwal, wrote: > Hello D

deploy django on AWS

2019-06-30 Thread Harshit Agarwal
Hello Django users, I want to host my django website on aws, This is first time that i am hosting a website. Can u suggest any good resource from which i can learn? Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: Nested dictionaries

2019-06-30 Thread 'David Elphee' via Django users
I guess I don’t even need Django or models to do what I described. But yes, for future functionality, I’d like to be able to store JSON to a database. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: Nested dictionaries

2019-06-30 Thread 'David Elphee' via Django users
*JSON -- 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 group, send email to django-users@googlegroups.c

Re: Nested dictionaries

2019-06-30 Thread 'David Elphee' via Django users
I guess I don’t even need Django or models to do what I described. But yes, for future functionality, I’d like to be able to store Jain to a database. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: Nested dictionaries

2019-06-30 Thread Joe Reitman
You want to save JSON data to a database? On Saturday, June 29, 2019 at 8:47:38 PM UTC-5, David Elphee wrote: > > Hello, > I am new at django and in over my head I think. I am trying to create a > kind of shim that will accept JSON from a webhook POST, work with the data > using Python, and the

Re: Help

2019-06-30 Thread Joe Reitman
Also, you will have to wrap your entire form in a tag. Then you can use a submit button to submit the data to the server. If you are displaying data from the database and allowing the user to make and save changes, you first have to render the data from the view. What is the Javascript code?

Re: Help

2019-06-30 Thread mail2pramo
I wrote a js for that wer it display the results of addition automatically through id If I use like this {{form. Full}} How do I pass the Id to the js? On Jun 30, 2019 6:19 PM, "Joe Reitman" wrote: Don't use an 'input' element to display your form field. Try something like this: {{ form.date

Re: Help

2019-06-30 Thread Joe Reitman
Don't use an 'input' element to display your form field. Try something like this: {{ form.date }} On Sunday, June 30, 2019 at 7:35:42 AM UTC-5, pramod wrote: > > The give to get the input from the user in table? > -- You received this message because you are subscribed to the Google Groups

Re: Help

2019-06-30 Thread laya Mahmoudi
If you can , send me your project to debug it. در تاریخ یکشنبه ۳۰ ژوئن ۲۰۱۹،‏ ۱۷:۰۵ mail2pramo نوشت: > The give to get the input from the user in table? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group