I should also add that neither the formset nor the form report .errors
or .non_form_errors() at all.
On Oct 8, 6:15 pm, ses1984 wrote:
> I have a pretty simple form, defined below, that I am setting
> according to some initial data, and no matter what I try, I can't seem
> to get it to validate i
In my application ,there is a url like this:
"""
xxx.com/xxx/s1-s2-s3-s4-s5/
"""
1: s1 .. s5 ,they are all numbers;
2: s1 must be there
3: the others like "-s2" can be zero to 4
how should I write this url???
any suggestion is welcome.
thanks ~
--
You received this message because you are sub
I'm following the Django book but run into a pathing problem (I think)
I did exactly what the book said, even copying and pasting the code as
to make sure I didn't make a typo.
so in the views.py I have
from django.http import HttpResponse
def hello(request):
return HttpResponse("Hello world")
One thing you can do is to call your "out of django" app test process from
one of your django app test modules.
Roberto
On Fri, Oct 8, 2010 at 11:00 PM, diogobaeder wrote:
> Hi there,
>
> I know that the testing facilities from Django read "test" modules
> inside all the installed apps, but is t
I have a pretty simple form, defined below, that I am setting
according to some initial data, and no matter what I try, I can't seem
to get it to validate in a test.
I have created some test data, which is an array with one dictionary
element, where the dictionary corresponds to the form. If I cre
Hello all,
Bruno was kind enough to list some of the techniques for working with
trees.
I'd like to throw out another technique you many want to look into if
you are working with trees of unknown shape and need frequent inserts/
updates. I've been experimenting with it with some good results so
I searched the list online and haven't seen any recent discussions about this,
so I figured I'd check in. Last I heard, Orbited was the way to go, but it
seems that both it and django-orbited haven't seen any development in quite a
while. The developer of Orbited is working on something called H
Hi
I'm having the same problem. I'm using /mod_php5-5.2.9.so
With that loaded my worker processes crash as soon as they are started
and I get the segmentation fault in the logs.
No mod_python.
Did you fix this?
Thanks
Justin
On Oct 3, 3:54 pm, Олег Корсак
wrote:
> Hello. I'm using apache
Hi there,
I know that the testing facilities from Django read "test" modules
inside all the installed apps, but is there a way to include a test
from outside the apps, for example a "test" module located in the
project root?
I'm trying to do this so that I can build an end-to-end test that
involv
I really like the 'filter-horizontal' style widget used by Django
Admin for things like specifying permissions for users/groups. I
would like to create a form that uses this same widget to allow
someone to select a group and then edit which users are in the group
based on this widget. The catch f
I really like the 'filter-horizontal' style widget used by Django
Admin for things like specifying permissions for users/groups. I
would like to create a form that uses this same widget to allow
someone to select a group and then edit which users are in the group
based on this widget. The catch f
On Wed, Oct 6, 2010 at 9:20 PM, alecx
wrote:
> Hello,
> I try to build a kind of call tracker app. The call intaker creates a
> new item (main model) and makes some notes (subject, issue and which
> printer nr, customer, technician,... all with modelfields) all in one
> view. But I am struggling w
ah I see. But I'm a little confused. How are your users manipulating
this list if not via a web page? are you saying you trying to create
an API in your application for people to use on querysets and interact
with the database table?
The notion of lists & tables in the web space is a little ambigu
I chose django-facebook to allow site authentication via Facebook
Connect because it seems to be alone amongst the various solutions in
knowing how to smartly connect existing site accounts to FB logins
rather than blindly creating new accounts (if you have users who
sometimes log in the traditiona
I've run afoul of this too, and would love to see a workable solution.
On Oct 7, 1:21 pm, Dan Gentry wrote:
> As I deploy my application into production, I haven't found a good way
> to migrate the groups of permissions I have defined and tested in
> development. In fact, due to my poor typing
Really... As Daniel said, I can't see any problem... only refer your static
into your templates like:
Your javascript URL:
http://commondatastorage.googleapis.com/static/media/node.js
On template:
(...)
(...)
Sorry I accidentally repeated myself.
List Delete closes gaps by setting item.prev = item.next and item.next
= item.prev.
On Oct 8, 5:03 am, Steven Sacks wrote:
> While I appreciate your response, your assumption is incorrect.
> However, I've found the solution and it's rather easy.
>
> The List
While I appreciate your response, your assumption is incorrect.
However, I've found the solution and it's rather easy.
The List Delete function closes gaps by setting an item.prev =
item.next and item.prev = item.next
The List Insert function injects item(s) either at the end of the list
(when the
On Oct 8, 9:37 am, Hudar wrote:
> Hi,
>
> Just wondering how we could server static file if we have our files
> hosted in cdn.
>
> I been trying several way, but nothings work.
>
> I have the files in let say ;
> http://commondatastorage.googleapis.com/static/media/node.js
>
> As far as I know,
Hi,
Just wondering how we could server static file if we have our files
hosted in cdn.
I been trying several way, but nothings work.
I have the files in let say ;
http://commondatastorage.googleapis.com/static/media/node.js
As far as I know, all the example out there use static files reside i
Hey!
Celery 2.1.0 was just uploaded to PyPI!
This is a backward compatible release in the 2.x series,
and is an recommended upgrade for all users.
What is Celery?
Celery is an open source asynchronous task queue/job queue based on
distributed message passing. It is focused on real
I have a legacy database and have user and password with plain-text or md5
encryption
Now, I want an app or function, when the user signup, change or reset the
password, the record of legacy databases will change synchronously.
I would like to keep the existing account app, how can I do?
--
You r
On 6 oct, 17:27, Paweł Roman wrote:
> I have a model which has a tree-like structure (not exactly a FK on
> self but we can assume that's the case).
>
> I want to visualise this tree using all records from the db. It seems
> impossible to do with QuerySet, if I have say 100 records (100 nodes
> in
Hi Russ,
thanks for the reply,,i resolved this error,,
added
DATABASES['xxx']['SUPPORTS_TRANSACTIONS'] = 'False'
DATABASES['default']['SUPPORTS_TRANSACTIONS'] = 'False'
in settings.py
On Fri, Oct 8, 2010 at 11:49 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> On Fri, Oct 8, 2010 at
Hi Daniel,
Thanks for the hint, I've read through the documentation and I should
be able to handle it despite the fact that I'm more of a "surface"
than an "underground" programmer.
Kindly Yours
Marc
On Sep 30, 5:19 pm, Daniel Roseman wrote:
> On Sep 30, 3:31 pm, mettwoch wrote:
>
> > Hi,
>
>
25 matches
Mail list logo