Re: Reverse Lookup Failure on password change/reset views

2013-07-27 Thread Peter
Yep, that fixed it. Thanks. I still think it's wrong of django not to find it by view name though... > Probably because you've included it under a namespace, so Django would > need to look for it as "registration:whatever". There's no need to use the > namespace in the include call. > -- >

How to Create an Auto Incrementing Integer Field

2013-07-27 Thread Gabriel - Iulian Dumbrava
I ended up using a stored procedure for something similar, triggered on after insert. -- 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: .filter() and .exclude() don't add up

2013-07-27 Thread Daniele Procida
On Fri, Jul 26, 2013, Bill Freeman wrote: >You really should figure out which record isn't showing up in either sub >case and look at it in detail to see if NULLs are involved before you spend >time trying to fix a problem that you don't have. > >You could, for example collect

Re: error

2013-07-27 Thread Dobry Dobrev
If it is on windows you may need to do python.exe manage.py or even c:\Python27\python.exe manage.py -Dd "Mike Dewhirst" wrote in message news:51f31f30.60...@dewhirst.com.au... On 27/07/2013 5:10am, veda av wrote: manage.py not recognized as an internal or external command why do we get this

Re: django.contrib.auth and username's field size

2013-07-27 Thread Ivan Voras
Thanks, everyone! While I'm here: is there a way to create additional db objects in the syncdb phase? Specifically, I'd like to create some database VIEWs as a means of avoding using raw queries in my code. Ideally, I would like a way of specifying my own SQL which creates a Model's database

script folder

2013-07-27 Thread Oliver
I'm running Windows 8.1 and following this tutorial http://www.youtube.com/watch?v=NqNNuXwi0eI I'm missing the script folder in Python33 folder so I can't find django-admin.py. However, I can start project and it build a project. I'm using djangostack-1.5.1-0. -- You received this message

Error.

2013-07-27 Thread Nigel Legg
I've just set up a new view / url etc, which has quite a bit of processing behind it. When I click on the link for it, I get the "Connecting" message for a few minutes, and then just "A server error has occurred. Please contact the administrator." appears. Is this a time out message? Regards,

Re: Error.

2013-07-27 Thread Roberto López López
Could be. But if you don't provide more information (i.e. detailed information about how you get that error, error stacktrace, logs), you won't get an answer. On 07/27/2013 01:21 PM, Nigel Legg wrote: > I've just set up a new view / url etc, which has quite a bit of > processing behind it.

Re: Error.

2013-07-27 Thread Nigel Legg
I have provided all the information I have. That's all there is on the screen in the browser. There is no trace. On 27 Jul 2013 12:26, "Roberto López López" wrote: > > Could be. But if you don't provide more information (i.e. detailed > information about how you get that

Re: Error.

2013-07-27 Thread Roberto López López
Well, I suppose you are running that locally or have access to the server. So show the logs. On 07/27/2013 01:40 PM, Nigel Legg wrote: > > I have provided all the information I have. That's all there is on the > screen in the browser. There is no trace. > > On 27 Jul 2013 12:26, "Roberto López

Re: Error.

2013-07-27 Thread Nigel Legg
Running locally on windows7. Where would I find the logs? On 27 Jul 2013 12:42, "Roberto López López" wrote: > Well, I suppose you are running that locally or have access to the > server. So show the logs. > > > > On 07/27/2013 01:40 PM, Nigel Legg wrote: > > I have

Learning how to build a web site for my python games and a blog

2013-07-27 Thread Randy Baxley
Is anyone working through The Django Book that would like to form a fb page just for that or knows of a good tutorial where questions will get answers? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: .filter() and .exclude() don't add up

2013-07-27 Thread Daniele Procida
On Fri, Jul 26, 2013, Steve McConville wrote: >> So, if one of the fields can be Null, then *neither*: >> >> queryset.filter(field=value) >> >> queryset.exclude(field=value) >> >> will match a record where it's Null? > >As I understand it, this is correct -

Re: Error.

2013-07-27 Thread Phil
How did you start your server? Using a command line such as "python manage.py runserver"? Or through your IDE (PyCharm, Eclipse, etc...)? Somewhere you mush have a window showing this kind of information: Validating models... 0 errors found July 27, 2013 - 12:33:15 Django version 1.5.1, using

Advanced Tutorial (how to write reusable app), last step does not work

2013-07-27 Thread Christian Erhardt
Django is using a coding "style" called covention over configuration. That means that you don't have to configure every bit of your application instead a convention is used to determine where you have to place stuff so django finds and uses it. For the beginner it seems like django is using

ImportError: No module named django.core.management

2013-07-27 Thread vinoth job
i am working with someones source code .i getting errors in the initial steps .i followed the installation instructions .and they instructed to create the virtual environment .After i setted the virtualenv i installed all requirements given in the requirements.txt .when i running this initial

Re: ImportError: No module named django.core.management

2013-07-27 Thread Nevio Vesic
My first guess is that django is missing. -- 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: .filter() and .exclude() don't add up

2013-07-27 Thread Steve McConville
Perhaps I'm not sure exactly what you mean by "more general", but I was recommending something like red_things = queryset.filter(Q(color="red")) non_red_things = queryset.filter(~Q(color="red") | Q(color__isnull=True) This will produce SQL like SELECT * FROM queryset WHERE color IS 'red';

Re: Can I only have one "get_queryset" per Viewpage?

2013-07-27 Thread Pepsodent Cola
Thank you IT-India now I understand what all the programmers are talking about. :) http://agiliq.com/blog/2012/06/understanding-args-and-kwargs/ *[Problem SOLVED]* On Monday, July 22, 2013 11:51:48 AM UTC+2, Pepsodent Cola wrote: > > Hi, > > Can I only have one "get_queryset" for each

Re: django.contrib.auth and username's field size

2013-07-27 Thread Russell Keith-Magee
On Sat, Jul 27, 2013 at 5:56 PM, Ivan Voras wrote: > Thanks, everyone! > > While I'm here: is there a way to create additional db objects in the > syncdb phase? Specifically, I'd like to create some database VIEWs as > a means of avoding using raw queries in my code. Ideally, I

Re: ImportError: No module named django.core.management

2013-07-27 Thread René Fleschenberg
Hi, vinoth job: > python manage.py syncdb > > Traceback (most recent call last): > File "manage.py", line 8, in > from django.core.management import execute_from_command_line > ImportError: No module named django.core.management This error can also occur if the virtualenv is not

tinymce

2013-07-27 Thread Karl Arunachal
Hello, I am not able to use the tinymce editor in my flat pages. My tinymce is in this dir: C:\Users\Kakar\Downloads\Compressed\tinymce\js\tinymce\tinymce.min.js And in my template dir i have another admin folder for 'change_form.html', just below this line: i have added this line for tiymce:

How the authentication takes place at the backend in django?

2013-07-27 Thread Viji Venkatesan
Hi, If we are giving credentials in login form as username and password,how the process takes place to check with database at the backend ,whether the user is authenticated or not.? just make clear of itplease give detail explanation for it. Thank you.!! -- You received this message