Re: facebook python script

2018-07-09 Thread Masoud Sadri
Hi, you can use youtube-dl module. https://github.com/rg3/youtube-dl On Monday, July 9, 2018 at 10:16:34 PM UTC+4:30, Ahmad wrote: > > Hello everyone, I hope all of you will be fine. > > I want a script to download facebook video (SD or HD) using python. > > if anyone has already please send

Re: Using multiple keyword arguments with reverse()

2018-07-09 Thread mottaz hejaze
def my_view(request): ... return redirect('some-view-name', foo='bar') -- 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: facebook python script

2018-07-09 Thread mottaz hejaze
i think you gonna need to scrap the page first . then use requests library On Mon, 9 Jul 2018, 20:17 Ahmad, wrote: > Thank you very much dear. It will help alot me. > > On Monday, July 9, 2018 at 10:46:34 PM UTC+5, Ahmad wrote: >> >> Hello everyone, I hope all of you will be fine. >> >> I want

Re: django template rendering performance

2018-07-09 Thread mottaz hejaze
i dont think so . rendering templates , though rendering templates us a matter of the web server then users browsers On Tue, 10 Jul 2018, 00:56 Masoud Sadri, wrote: > Hi, > when rendering django(v 1.11) templates, is there any performance > difference between python 2.7 and 3.5? > > Thanks. > >

Configuring Remote Existing DB through RDS

2018-07-09 Thread ackamal
Hi everyone, I'm having trouble connecting an existing MySQL database through the settings.py file in my project and was wondering if anyone has ever experienced similar issues. The database section of settings.py appears as follows: DATABASES = { 'default': { 'NAME':

django template rendering performance

2018-07-09 Thread Masoud Sadri
Hi, when rendering django(v 1.11) templates, is there any performance difference between python 2.7 and 3.5? Thanks. -- 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

Re: facebook python script

2018-07-09 Thread Ahmad
Thank you very much dear. It will help alot me. On Monday, July 9, 2018 at 10:46:34 PM UTC+5, Ahmad wrote: > > Hello everyone, I hope all of you will be fine. > > I want a script to download facebook video (SD or HD) using python. > > if anyone has already please send me > > or if you have any

Re: facebook python script

2018-07-09 Thread Kasper Laudrup
Hi Ahmed, On 2018-07-09 19:46, Ahmad wrote: Hello everyone, I hope all of you will be fine. I want a script to download facebook video (SD or HD) using python. I highly suggest using the requests library for doing HTTP client communication: http://docs.python-requests.org It's a lot

facebook python script

2018-07-09 Thread Ahmad
Hello everyone, I hope all of you will be fine. I want a script to download facebook video (SD or HD) using python. if anyone has already please send me or if you have any other material which can help me. Waiting for you reply. Thanks -- You received this message because you are

Re: help

2018-07-09 Thread 'Anthony Flury' via Django users
On 05/07/18 12:49, Umar Kambala wrote: Please am sorry am new to django, I don't really understood what u mean I know that Tim has helped you in this occassion but  you really do need to  know how to find your way around a computer the commands 'ls' and 'cd ..' are nothing to do with

Re: help

2018-07-09 Thread 'Anthony Flury' via Django users
On 06/07/18 13:43, Umar Kambala wrote:   File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py", line 347, in execute YOU need to add an on_delete argument to every ForeignKey definition - such as the one in line 13. Learning to

Re: Using multiple keyword arguments with reverse()

2018-07-09 Thread Derek
Thanks Melvyn The call to reverse() *was* included in my original code snippets: see below. > return HttpResponseRedirect( > reverse('uploads:upload_details', > kwargs={'view': view, 'mid':result.pk}) And that call does not work. Derek On Sun, 8 Jul 2018 at 20:49,

Re: Caching JSON in Django

2018-07-09 Thread Melvyn Sopacua
On maandag 9 juli 2018 09:19:59 CEST Ravi Bhushan wrote: > plzz help me to solve this problem Ask more times. It really helps getting you quality auto ignores. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Needs help

2018-07-09 Thread Umar Kambala
Thanks On Jul 9, 2018 11:57 AM, "Kasper Laudrup" wrote: > Hi Umar. > > On 07/09/2018 01:52 PM, Umar Kambala wrote: > >> >> This is the error >> >> url(r'^$', views.home, name='home') >> attributeError: module 'boards.views' has no attribute 'home' >> >> > Do you know what a Python module is and

Re: Needs help

2018-07-09 Thread Kasper Laudrup
Hi Umar. On 07/09/2018 01:52 PM, Umar Kambala wrote: This is the error url(r'^$', views.home, name='home') attributeError: module 'boards.views' has no attribute 'home' Do you know what a Python module is and what an attribute on a module means? Then the answer is obvious. Try to read

Needs help

2018-07-09 Thread Umar Kambala
Am lost as to what to do, I try troubleshooting but couldn't fine de answer... This are my codes from django.contrib.auth.models import User from django.shortcuts import render, redirect, get_object_or_404 from .models import Board, Topic, Post def new_topic(request, pk): board =

Re: Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

2018-07-09 Thread Kasper Laudrup
Hi Rupam, On 07/09/2018 09:50 AM, Rupam Hazra wrote: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2. Please i need help. Which error message did the compiler (cl.exe) give you? Kind

Re: Caching JSON in Django

2018-07-09 Thread Ravi Bhushan
plzz help me to solve this problem https://stackoverflow.com/questions/51239469/cache-invalidation-is-not-working-in-browser-using-or-app-rest-api On Wednesday, August 25, 2010 at 2:45:14 AM UTC+5:30, buddhasystem wrote: > > > Hello, > > I'm trying to use native caching in Django as per >

Re: Clear view cache using @cache_page

2018-07-09 Thread Ravi Bhushan
plzz solve this problem On Monday, November 30, 2015 at 11:13:29 PM UTC+5:30, Dimitris R wrote: > > Hello, > > I am using Django 1.8.2 and caching my views using the @cache_page > decorator: > > @cache_page(60 * 5) > def view_name(request, obj_id): > [...] > > Is there a way to clear the

Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

2018-07-09 Thread Rupam Hazra
C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2. Please i need help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Database data caching in Django?...

2018-07-09 Thread Ravi Bhushan
Can we solve this problem ? https://stackoverflow.com/questions/51239469/cache-invalidation-is-not-working-in-browser-using-or-app-rest-api On Thursday, August 18, 2016 at 1:04:33 AM UTC+5:30, Fred Stluka wrote: > > Django users, > > Is there an easy way to enable an automatic write-through >

this error occurs Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools whenever some package install..Please

2018-07-09 Thread Rupam Hazra
this error occurs Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools whenever some package install..Please tell me the solutinons -- You received this message because you are subscribed to the Google

Re: Clear view cache using @cache_page

2018-07-09 Thread Ravi Bhushan
plzz solve this problem https://stackoverflow.com/questions/51239469/cache-invalidation-is-not-working-in-browser-using-or-app-rest-api On Monday, November 30, 2015 at 11:13:29 PM UTC+5:30, Dimitris R wrote: > > Hello, > > I am using Django 1.8.2 and caching my views using the @cache_page >

Re: Django DateField

2018-07-09 Thread 'dtdave' via Django users
Many Thanks On Friday, 6 July 2018 16:13:35 UTC+1, Melvyn Sopacua wrote: > > On vrijdag 6 juli 2018 16:46:08 CEST 'dtdave' via Django users wrote: > > Many thanks for the help on this. I have implemented the following: > > models.py > > start_date = models.DateField(null=True, blank=True,) >