Solution appears like a hack to me. Why do you close the connection in
every process? Can you not just close once in parent? Execute commits
alone in each process.
On Aug 11, 10:50 am, Spajderix wrote:
> Malcolm Tredinnick pisze:
>
>
>
> > On Tue, 2009-08-11 at 11:06 +0200, Spajderix wrote:
>
>
Hi KG,
Nice to meet you! How are you confirming if the data is from Meeting?
Are you looking at the final rendered html? What does a print after
the statement
p = Event.objects.get(pk=id)
tell you? Also check if you have just one view for the particular url
mapping.
Regards,
Prabhu
On Aug 9,
It will be awesome if you can make and open source such a tag.
Shouldn't be hard since templates can be evaluated independent of
http. If you want something simpler, use iframe and point it to the
correct url.
Regards,
Prabhu
On Aug 8, 12:11 pm, SardarNL wrote:
> I've checked the custom tags an
Going a step backward, why cant you make username same as email. Have
a custom login_required decorator that uses email and password to
authenticate, override registeration pages and not show username
field?
It seems to work for me.
On Aug 2, 4:38 pm, Dana wrote:
> Hello All,
>
> I am looking t
in mysite.fcgi fix the settings file name.
os.environ['DJANGO_SETTINGS_MODULE'] = "mysite.settings"
Your settings file is inside a directory called "mysite". It will help
if you quickly take a look at modules documentation in python.
Also your fcgi complains about several missing parameters. It
Right. If you are looking for more complex queries take a look at Q
http://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects
On Aug 3, 6:40 pm, selcukcihan wrote:
> I need to get the filtering criteria from the request, is that right?
>
> On Aug 3, 2:24 pm, Peter B
Not sure whether this is possible out of the box yet. But here is some
starter.
http://code.google.com/p/jutda-helpdesk/source/browse/trunk/management/commands/get_email.py
jutda-helpdesk project as a whole should be a good reference.
On Aug 3, 4:14 pm, Brandon Taylor wrote:
> Hi everyone,
>
>
Appears like a data type mismatch. Are you entering some string value
in a integer field or something of that sort?
On Aug 3, 12:45 pm, andreas schmid wrote:
> hi,
>
> im trying to build the cab code sharing app with the practical django
> projects book, at the moment i have a problem adding sni
Also declare dan_id and stu_id as string. Unless request.GET can
magically return you number, which I am not sure.
Looks we are doing compilers job here :)
On Aug 2, 1:17 am, Alex Gaynor wrote:
> On Sat, Aug 1, 2009 at 6:59 PM, prabhu S wrote:
>
> > change student_id
change student_id_validate to student_id_check
Invalid variable dude.
On Aug 2, 12:46 am, cprsystems wrote:
> I'm trying to redirect users of an html page to another page depending
> on the user id entered. I'm using if else statements and declaring ids
> within views.py named htmlp2. I keep ge
I think this should fix. Additionally if you are using
render_to_response for some reason, it passes Context instead of
RequestContext.
To solve this do render_to_response('view', {},
context_instance=RequestContext(request))
On Aug 1, 9:10 pm, OIM wrote:
> You should use:
>
> {% block user_inf
The method create_profile returns profile after saving. But this
object will not contain primary keys etc generated in the db. To work
around this common issue with django
profile.save()
# Get the data again from db.
profile = Profile.objects.get(user=username)
return profile
Let me know if this
Your apache server would run as www user. Where as you have saved your
project in /root with root as the owner. To do this properly, do not
save your django project in /root. Have it somewhere like /var/www and
make "www" as the owner. Also fix execute permissions.
chmod -R 700 should do. Or try
Hi All,
When I try to create a Group (django.contrib.auth.models.Group)
dynamically, I get the below error.
'Group' instance needs to have a primary key value before a many-to-
many relationship can be used.
This is because I am trying to add permissions to the group object and
trying to save e
ail.com
>
> "I [may] disapprove of what you say, but I will defend to the death your
> right to say it." -- Voltaire
>
>
>
>
>
> prabhu S wrote:
> > Hi Karen,
>
> > Thanks for replying. I have put my 404.html in the same place as that
> >
uld
appreciate if you can take a look at settings.py and let me know if
something is obvious.
Thanks & Regards,
Prabhu
On Jul 30, 2:25 pm, Karen Tracey wrote:
> On Thu, Jul 30, 2009 at 8:40 AM, prabhu S wrote:
>
> > Hi All,
>
> > I am not noticing a weird issue in django 1.
long poll, push ajax, comet wow too many names for this!!! It will be
interesting to study http://code.google.com/p/pygowave-server/ and
find out how they implement this.
Regards,
Prabhu
On Jul 30, 10:52 am, aleph wrote:
> Hi!
>
> Is it possible to use Django with longpoll technique? What I mea
Hi All,
I am not noticing a weird issue in django 1.1. When DEBUG is true in
settings and if I try a non-existent url, django shows me a friendly
404 page. Now I create 404.html and 500.html and place this in
templates directory. Then If I turn off debug and try a non-existent
url, I expect to se
18 matches
Mail list logo