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.
> --
> DR
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 django-users+unsubscr...@g
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 all the ids from th
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
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 objec
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 b
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,
Nig
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. When
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 error, error stacktrace,
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 L
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 provided all the information
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 recei
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 - it's certainly the way SQL was
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 s
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 some
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 co
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
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';
SELECT
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 Viewpage?
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 would like
> a way
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 actviate
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:
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 beca
Hello,
I am trying to use tinymce in the flat pages. But i just can't show it up
in my admin. Please help me out where am going wrong.
The javascript file is in:
C:\Users\Kakar\web\cms\static\js\tinymce\tinymce.min.js
urls.py:
(r'^tiny_mce/(?P.*)$', 'django.views.static.serve', { 'document_root
24 matches
Mail list logo