How to made import a js file with my function as pytonic method "from module_name import function_name"?

2016-07-10 Thread Seti Volkylany
After googling in the Web, I don`t found clean solution for it. -- 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

strange bug with dumpdata

2016-07-10 Thread Megido _
i have groups: pk,name 1 - admin 2 - user 3 - moderator when i dump initial data of app "auth" i got this initial groups data: pk,name 1 - user 2 - admin 3 - moderator but relations user-> group stay same, all users now moderators, and moders now users O.o wtf? -- You received this

Re: strange bug with dumpdata

2016-07-10 Thread Megido _
*admin воскресенье, 10 июля 2016 г., 12:49:37 UTC+3 пользователь Megido _ написал: > > i have groups: > > pk,name > 1 - admin > 2 - user > 3 - moderator > > when i dump initial data of app "auth" i got this initial groups data: > > pk,name > 1 - user > 2 - admin > 3 - moderator > > but

Reverse for 'resetPasswordSendMail' with arguments '()' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'$resetPasswordSendMail/$']

2016-07-10 Thread Ajo Thomas
I am getting the error mentioned in the heading. The reverse url is working perfectly everywhere in the html code except in the form action part. The code works perfectly when I do not use namespaces in my project which right now has only one app. Example: {% url 'view_name' %} instead of {%

How to set Callback URL for facebook OAuth

2016-07-10 Thread M Hashmi
I am trying to implement django-allauth on local server. I need help to figure out how to set callback url for FaceBook Auth. Regards, Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Creating an application form

2016-07-10 Thread ludovic coues
First, you need a model to store the data in the database. Then, you can use a CreateView as explained at [1]. You should have something like that at the end. models.py: from django.db import models class User(models.Model): name = models.CharField(max_length=128) newsletter =

dynamic WAV file??

2016-07-10 Thread Joe Gredder
Im writing to a WAV file using Python script and trying to play it using HTML tag from Static dir... The Process: Parameters from website are written to .txt in views --> Python file exc. with subprocess.call and .txt parameters read --> WAV (sound.wav) written to with Python and saved in

Re: Slow Django dev server reload

2016-07-10 Thread Krishna Bharadwaj
Fred, That's very good to know. At least it tells me that the number of imports could be one of the main reasons for the slow down. And I apologise for the delay in responding. I am not certain why the number is so high in my case. I will take a closer look at it and share what I find out

Re: Error in testing script

2016-07-10 Thread Gary Roach
On 07/10/2016 01:57 PM, Gary Roach wrote: Hi all; OS Debian Linux KDE desktop Django 1.9 Python 3.5 Working with tutorial https://docs.djangoproject.com/en/1.9/intro/tutorial05/ Writing polls/tests.py script I am consistently getting an error: NameError: name 'create_question' is not

Re: Reverse for 'resetPasswordSendMail' with arguments '()' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'$resetPasswordSendMail/$']

2016-07-10 Thread ludovic coues
Have you checked you didn't put a space between 'account: and resetPasswordSendMail' ? 2016-07-10 6:49 GMT+02:00 Ajo Thomas : > I am getting the error mentioned in the heading. The reverse url is > working perfectly everywhere in the html code except in the form action >

Error in testing script

2016-07-10 Thread Gary Roach
Hi all; OS Debian Linux KDE desktop Django 1.9 Python 3.5 Working with tutorial https://docs.djangoproject.com/en/1.9/intro/tutorial05/ Writing polls/tests.py script I am consistently getting an error: NameError: name 'create_question' is not defined. The first section of tests.py to

Creating an application form

2016-07-10 Thread Aida
Hello, I want to create a form to apply in, this form will contain fields for name, surname, e-mail, text area and also i want it to contain checkbox-es. Data that will be inserted in those areas to be saved in db. How can i come up with this? -- You received this message because you are

Re: How to made import a js file with my function as pytonic method "from module_name import function_name"?

2016-07-10 Thread ludovic coues
What are you trying to do ? Where do you want to import your js code ? Why do you want to do it ? What are you trying to achieve ? 2016-07-10 15:06 GMT+02:00 Seti Volkylany : > After googling in the Web, I don`t found clean solution for it. > > -- > You received this