Re: API project example

2018-11-17 Thread Rupam Hazra
HI, Just follow the django REST API. Thanks, Rupam Hazra On Sun, Nov 18, 2018 at 5:23 AM Arturo Fernandez wrote: > Hi guys, I'm developing an idea, but the funny things is that I'm learning > Django at the same time. Do you guys know of any SIMPLE project that > requests data from an api and

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Harish Soni
I would love to know more about this can we have a mail conversation so I can get acces of your live app On Sun, Nov 18, 2018 at 11:23 AM Peter Mudoko wrote: > Good project indeed add me to your plan. > > On Sun, 18 Nov 2018, 06:17 Zack Amaral, wrote: > >> Let me know if you guys are

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Peter Mudoko
Good project indeed add me to your plan. On Sun, 18 Nov 2018, 06:17 Zack Amaral, wrote: > Let me know if you guys are interested in setting up a video conference. > I'd love to tell you more about it. I can show you the UI/UX I've been > working on. > > Thank you for your consideration, > >

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Zack Amaral
Let me know if you guys are interested in setting up a video conference. I'd love to tell you more about it. I can show you the UI/UX I've been working on. Thank you for your consideration, Zack Amaral On Sat, Nov 17, 2018 at 8:10 PM Zack Amaral wrote: > Erol, > > Here's a link to the plan: >

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Zack Amaral
Erol, Here's a link to the plan: https://app.liveplan.com/accept-invitation?ic=107ef0ab-8bc5-4b9d-aeea-bf72324a0261 Cheers, Zack Amaral On Sat, Nov 17, 2018 at 8:04 PM Erol DEMİRHAN wrote: > Hi Zack, > > My name is Erol DEMIRHAN, > > I received your email. It sounds interesting. I'm waiting

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Erol DEMİRHAN
Hi Zack, My name is Erol DEMIRHAN, I received your email. It sounds interesting. I'm waiting for your reply about the details of the project. Sincerely On Sun, 18 Nov 2018 at 05:32, Lucas G. Navarro wrote: > Hi! How are you? Can you tell us more about this? > > Regards! > > El sáb., 17 nov.

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Zack Amaral
Lucas, So basically I'm trying to build twitch.tv for the music industry. Users will be able to create events and sell tickets to their events. Users will also be able to request events. So for example, I want my favorite DJ to play my birthday party, I can request to pay him $200 for a one hour

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
I managed to get it working, turns out I forgot to install and configure Redis. I now have a working web app with channels. On Saturday, November 17, 2018 at 5:29:30 PM UTC-8, Robert Fox wrote: > > Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 > where Daphne is

Re: Upload Image Field? ASAP PLS

2018-11-17 Thread Shashank Singh
Why not doing it? Where are you stuck? On Sun, 18 Nov, 2018, 8:02 AM Richard Vo Need to upload an image, manipulate the image through Python Pillow, then > display it. > > Whatever additional information I need to provide, please let me know. > > -- > You received this message because you are

Upload Image Field? ASAP PLS

2018-11-17 Thread Richard Vo
Need to upload an image, manipulate the image through Python Pillow, then display it. Whatever additional information I need to provide, please let me know. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Lucas G. Navarro
Hi! How are you? Can you tell us more about this? Regards! El sáb., 17 nov. 2018 7:29 PM, Zack Amaral escribió: > Hi, > > I have an idea for a next generation PaaS. I was wondering if there are > any Django developers that would be interested in being a co-founder with > my company. I'm an AWS

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 where Daphne is configured. This has fixed my 404 handshake error and now I have a handshake error 500. Any thoughts? On Friday, November 16, 2018 at 10:35:07 PM UTC-8, Andrew Godwin wrote: > > You cannot use gunicorn to

Re: API project example

2018-11-17 Thread Joel
Follow the initial two django tutorials and you'll get the idea. On Sun, 18 Nov, 2018, 5:23 AM Arturo Fernandez Hi guys, I'm developing an idea, but the funny things is that I'm learning > Django at the same time. Do you guys know of any SIMPLE project that > requests data from an api and

Re: Looking for a Django Co-Founder.

2018-11-17 Thread Zack Amaral
Tim, The two biggest problems I want to solve are event safety and event convenience. I sent you an email for my business plan. It's from Live Plan. Here's a link to it though if you didn't get it: https://app.liveplan.com/accept-invitation?ic=3f508b0c-cfab-4849-86d6-90630519e8b9 Thank you for

API project example

2018-11-17 Thread Arturo Fernandez
Hi guys, I'm developing an idea, but the funny things is that I'm learning Django at the same time. Do you guys know of any SIMPLE project that requests data from an api and displays it on the font end (html)? I'm working with themoviedb using https://github.com/celiao/tmdbsimple. I got the

Re: Looking for a Django Co-Founder.

2018-11-17 Thread TimT Vogt
What problem do you want to solve? Tim Verstuurd vanaf mijn iPhone > Op 17 nov. 2018 om 19:39 heeft Zack Amaral het > volgende geschreven: > > Hi, > > I have an idea for a next generation PaaS. I was wondering if there are any > Django developers that would be interested in being a

Re: LiveServerTestCase non-deterministic Remote end closed connection without response

2018-11-17 Thread AdrianB
I'm also seeing this with a slightly simpler scenario that also involves a requests.get inside a LiveServerTestCase. Success/failure is random with failures reporting the same ConnectionError message. Any ideas? -- You received this message because you are subscribed to the Google Groups

Looking for a Django Co-Founder.

2018-11-17 Thread Zack Amaral
Hi, I have an idea for a next generation PaaS. I was wondering if there are any Django developers that would be interested in being a co-founder with my company. I'm an AWS Architect but sadly a really bad developer. If there's anybody on this forum that would be interested please let me know

Re: mysql client error

2018-11-17 Thread omar mustafa
Thanks, msembijoseph4, you saved my time. On Monday, October 15, 2018 at 9:47:19 PM UTC+8, msembijoseph4 wrote: > > Try this ; > pip install --only-binary :all: mysqlclient > > On Saturday, October 13, 2018 at 4:27:08 PM UTC+3, highnes joseph wrote: >> >> how to fix pip install mysqlclient

Re: I can't start django

2018-11-17 Thread Ryan Gedwill
Are you using a virtual environment? What version of python are you using? Try typing in the command line: python Then when the shell opens up, put import django Press enter. What does it say? Sent from my iPhone > On Nov 17, 2018, at 11:20 AM, epic christ wrote: > > what do you mean? > >

Re: I can't start django

2018-11-17 Thread epic christ
what do you mean? Den fre 16 nov. 2018 kl 18:58 skrev Akash Purandare : > Can you show the output of pip freeze in your virtual environment? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

Re: I can't start django

2018-11-17 Thread epic christ
i have the latest django Den fre 16 nov. 2018 kl 20:59 skrev Ansh Srivastava < ansh.srivastav...@gmail.com>: > I think you forgot to mention the following: > pip install django==2.1.3 > > > [image: Mailtrack] >

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Andréas Kühne
If you use a windows.location solution, you will get the native solution for downloading files in the browser - which usually is to download the file to the downloads location (if you use attachment=True). I would prefer that than to having to create the file and link to it, or to save it via JS

User permissions

2018-11-17 Thread Joel Mathew
How are you implementing user permission groups in your project? I'm using a model to store user and other models as foreign key and permissions as boolean? Is there a preferred module or standard way to do this? Sincerely yours, Joel G Mathew -- You received this message because you are

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Yavin Aalto Arba
will work with window.location= On Saturday, November 17, 2018 at 5:55:18 PM UTC+2, Joel wrote: > > Yes. But it's not usable when we're using JavaScript to fetch the url. > > On Sat, 17 Nov, 2018, 9:20 PM Jason > wrote: > >> oh, I didn't know that was a thing. TIL. >> >> >>

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Joel
Yes. But it's not usable when we're using JavaScript to fetch the url. On Sat, 17 Nov, 2018, 9:20 PM Jason oh, I didn't know that was a thing. TIL. > > > https://docs.djangoproject.com/en/2.1/ref/request-response/#django.http.FileResponse > > note the bit about as_attachment setting content

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Jason
oh, I didn't know that was a thing. TIL. https://docs.djangoproject.com/en/2.1/ref/request-response/#django.http.FileResponse note the bit about as_attachment setting content disposition -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Joel Mathew
Where? Sincerely yours, Joel G Mathew On Sat, 17 Nov 2018 at 20:50, Yavin Aalto Arba wrote: > did you try to set "as_attachment=True" ? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

How to call a javascript code in an onclick in Django

2018-11-17 Thread mhamadi0807
Hi, I am new in Django and I would like to know how to populate the CSV file date in an HTML table using JavaScript. Thus, after choosing the CSV file, the "Upload>>" button should load the data from the CSV file in an HTML table with borders. So, I would like to call the javascript function in

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Yavin Aalto Arba
did you try to set "as_attachment=True" ? -- 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

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Jason
not a bad solution, but you could most likely make the link generator/decoder work in your view handler rather than needing to hit the database. That would prevent the necessity of some method to clean up the db of old temp links that are no longer valid. On Saturday, November 17, 2018 at

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Joel Mathew
Hi Jason, Thank you for responding. I solved this by implementing a temporary link system in my model. This would generate a unique key which points to a foreign key which references the data I want. When the url with this foreign key is clicked, the pdf is generated on the fly and presented as a

Re: smtp authentication error

2018-11-17 Thread Jason
I would read https://stackoverflow.com/help/how-to-ask and rephrase your question. As is, you've given just the error message with no information or context. Learning to ask a good question is an invaluable skill that will reap large benefits. -- You received this message because you are

Re: How to download a file when a django function is called by javascript instead of navigation to the url?

2018-11-17 Thread Jason
check out https://stackoverflow.com/questions/4545311/download-a-file-by-jquery-ajax -- 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

Re: Why I can't pass anything to my html? Django 2.1

2018-11-17 Thread Rookies DJ
*Answer:* Hi everyone Thanks for helping me but I found out my mistake and the cause of the problems; The problems are my URL, is not calling my def in views On Monday, 12 November 2018 20:13:21 UTC+8, Rookies DJ wrote: > > I been trying 2 weeks on trying to pass variables form Django views

Exception Value: Cannot query "PERGUNTA 2": Must be "Question" instance.

2018-11-17 Thread Elias Coutinho
Good morning my friends. Before sending this doubt I searched a lot in the forums of life! I have the following code that does bulk inclusion: def seach_create(request): template_name = 'seach_create.html' if request.method == 'POST': form = SearchForm(request.POST) if