This is useful too: http://www.dajaxproject.com/
On Mon, Jun 7, 2010 at 07:57, Dmitry Dulepov wrote:
> Hi!
>
> tazimk wrote:
>> I want to use ajax in my templates using jquery.
>> Can someone provide me some sample examples /links related to
>> this.
>
> http://www.google.com/ may be? The
Hi!
nameless wrote:
> In your opinion what is the best way to share userid with the PHP
> application ?
If you know where PHP sessions are stored on the file system, you can fetch
them manually and deserialize (there is a Python class to deserialize PHP
objects). Then you can fetch user id from t
Hi,
In your opinion what is the best way to share userid with the PHP
application ?
---
On Jun 7, 7:59 am, Dmitry Dulepov wrote:
> Hi!
>
> nameless wrote:
> > Someone has telled me that I could share the user id ( from Django and
> > PHP )
> > also throught a cookie.
> > I
On Mon, Jun 7, 2010 at 1:54 PM, Dane wrote:
> Any suggestions on where to post to find experience Django
> developers?
Three suggestions:
* djangogigs.com
* djangozen.com/jobs
* hiddenhires.com - this hasn't been officially launched yet, but
it's being organized by Jacob Kalplan-Moss and a co
Hi!
nameless wrote:
> Someone has telled me that I could share the user id ( from Django and
> PHP )
> also throught a cookie.
> In your opinion what is the best way ?
What would prevent me from forging a cookie with somebody else's user id
and impersonating another user? It is a major security
Hi!
tazimk wrote:
> I want to use ajax in my templates using jquery.
> Can someone provide me some sample examples /links related to
> this.
http://www.google.com/ may be? The question is too broad.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
Any suggestions on where to post to find experience Django
developers?
On Jun 1, 5:39 pm, Dane wrote:
> Tippr.com is a fast growing venture funded internet company that
> provides technology that helps local merchants acquire new customers.
> Think of Groupon.com, livingsocial.com or buywithme.co
Hi!
EJ wrote:
> Oh yeah? It seems really against the DRY principle to have the code
> replicated so many times.
I do not see how DRY prinicple is applicable to using VCS in this case.
> Would you possibly be able to give an example on what I have to do to
> actually implement the tags/branches/t
I just ran into this as well. Very odd that earlier versions didn't
raise the same error.
On May 18, 1:38 pm, Jori wrote:
> Thanks, you're correct. I don't know how I didn't notice but then
> again it worked just fine with 1.1.1.
>
> -Jori
>
> On May 18, 11:03 pm, Daniel Roseman wrote:
>
>
>
>
Try using 2 %'s in your query
like this:
CLASSNAME.objects.raw("select * from table where full_name like
'%%ipod%%nano%%' ")
On Jun 6, 6:17 pm, Gyanit Singh wrote:
> Hi All,
>
> As start I know there is __contains [http://docs.djangoproject.com/en/
> dev/ref/models/querysets/#contains]. But it o
Nice documentation.
On Sun, Jun 6, 2010 at 2:26 PM, shacker wrote:
> Hi all -
>
> Wanted to let you know about a new Django site I've just launched:
>
> http://bucketlist.org/
>
> Come log all those things you want to accomplish before you die :)
>
> And here are the construction notes for Django
Hi Django,
How to display ordering on admin filter in reverse order. Its a char Field
I would like to display new objects created first.
--RJ
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@go
Yes! Thank you! I just used the (.+) for now, it's working.
On Jun 6, 7:23 pm, James Gregory wrote:
> or, if there's nothing that comes beneath brewery, just (r'^brewery/(.
> +)
>
> On Jun 7, 3:17 am, James Gregory wrote:
>
>
>
> > The regex class "\w" doesn't include spaces, so maybe you need
>
Assuming you are subscribed via google groups, then go to
http://groups.google.com/group/django-users and then click on "edit my
membership" on the right hand side of the page.
James
On Jun 7, 3:11 am, Jim Norman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> How do I unsubscribe f
or, if there's nothing that comes beneath brewery, just (r'^brewery/(.
+)
On Jun 7, 3:17 am, James Gregory wrote:
> The regex class "\w" doesn't include spaces, so maybe you need
> (r'^brewery/([\w ]+). Then again spaces in urls are represented as
> "%20", so maybe you need (r'^brewery/([\w%]+),
The regex class "\w" doesn't include spaces, so maybe you need
(r'^brewery/([\w ]+). Then again spaces in urls are represented as
"%20", so maybe you need (r'^brewery/([\w%]+), can't be bothered to
test right now. Or maybe I'm totally wrong.
James
On Jun 7, 3:05 am, joelklabo wrote:
> bumping th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
How do I unsubscribe from this list?
Jim Norman
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkwMVVMACgkQ677kSNWvnhS3EQCeO2OguYmNhKiyywl2HqXnLslF
yUYAn2SxlG
bumping this, I'm still at a loss...
On Jun 5, 1:28 pm, joelklabo wrote:
> I am trying to capture the slug from a URL to search and find the
> object with that slug. Here is my URLconf:
>
> (r'^brewery/(\w+)', breweryDetail),
>
> It works when there are no spaces in the slug, but nothing
On Jun 6, 2010, at 9:18 AM, Andy Kelley wrote:
> Use south. The overhead is worth it.
+1 on South.
Especially because this "just this once" scenario is going to happen again and
again if your project lives long enough.
Shawn
--
You received this message because you are subscribed to the Goo
On Sun, Jun 6, 2010 at 8:05 AM, cootetom wrote:
> Hi all,
>
> I've decided to upgrade to 1.2 but have hit a stumbling block with the
> cycle tag. The release notes here
> http://docs.djangoproject.com/en/dev/releases/1.2/#stateful-template-tags
> say that because of the new thread safe template r
Hi All,
As start I know there is __contains [http://docs.djangoproject.com/en/
dev/ref/models/querysets/#contains]. But it only does LIKE '%word%'
query.
I want to do LIKE '%word1%word2%' query.
for e.g. select * from table where column LIKE '%ipod%nano%'.
The raw sql query is trying to replace
File "/usr/local/lib/python2.6/dist-packages/django/template/
loader.py", line 138, in find_template
raise TemplateDoesNotExist(name)
TemplateDoesNotExist: 500.html
please help what I can do ???
or TEMPLATE_DIRS has not been defined well.
How TEMPLATE_DIRS looks like ?
Rega
On Jun 7, 4:47 am, Chris Seberino wrote:
> My Django app runs great with Apache+mod_wsgi.
> Apache now runs my Django app as user www-data.
> This causes issues since my Django app is sitting in my non-root
> user's $HOME directory.
>
> Best solution seems to be to add my user and www-data to sa
It says you're missing a 500.html template.
Without it, you can't see any error pages. See
http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view
Once you've made that template, you should be able to see what other
errors are happening.
-Justin
On Jun 6, 12:16 am, Jagd
On Jun 6, 7:43 pm, bvcelari wrote:
> Hy, I´m quite newbie using MacOSX, had installed python, and django,
> if in a python console "import python" no error appears, but if i try
> to create a new project like
> " ./bin/django-admin.py startproject sdlsdl " the next error appears:
>
> Traceback (mo
Hello all,
I am writing an application that often lists objects and some of their
attributes in tables.
I get the list in my view and then access attributes in template.
It means that the table rendering results in many simple sql queries
(first to get the list and then
one query for every row).
I
Hy, I´m quite newbie using MacOSX, had installed python, and django,
if in a python console "import python" no error appears, but if i try
to create a new project like
" ./bin/django-admin.py startproject sdlsdl " the next error appears:
Traceback (most recent call last):
File "./bin/django-admi
On Jun 6, 5:23 am, Jason Beaudoin wrote:
>
> - I've got a model that defines "submissions", which are incoming
> messages from HTML forms on various websites and are fielded by admins
> - each submission has a bunch of basic information related to the
> submission (where, when, etc), as well a
This is cool. Like the 4 random items that are displayed in the web
site banner. Also love the switch between "things to do" and
"completed things" lists!
Great to see someone coming up with an idea and then doing something
about it. Good luck with it.
On Jun 6, 8:26 pm, shacker wrote:
> Hi
Hi all -
Wanted to let you know about a new Django site I've just launched:
http://bucketlist.org/
Come log all those things you want to accomplish before you die :)
And here are the construction notes for Django nerds:
http://birdhouse.org/blog/2010/06/06/bucketlist-django/
Thanks for all the
My Django app runs great with Apache+mod_wsgi.
Apache now runs my Django app as user www-data.
This causes issues since my Django app is sitting in my non-root
user's $HOME directory.
Best solution seems to be to add my user and www-data to same group
and then put my Django app directory in that g
Good news. Weird thing happened.
I am okay with the access.
It seems like even with the DNS service such as no-ip.org still
requires the users to access via abc.no-ip.org:8000 instead of abc.no-
ip.org.
But I thought I had tried abc.no-ip.org:8000 already yesterday.
Thank you, Sam.
On Jun 6, 1
On Jun 6, 4:46 am, Vasil Vangelovski wrote:
> See haystackhttp://haystacksearch.org/
>
Thanks! That's what I'm looking for!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
T
Ok. just by testing it over and over i figured out what the problem
was.
The problem was, that you could not use 'pass' in context processor.
If i did it like this:
loginform(request):
if request.user.is_authenticated():
return {}
else:
from django.
On 6 Giu, 16:31, Karen Tracey wrote:
> On Sun, Jun 6, 2010 at 9:14 AM, drakkan wrote:
> > I'm migrating my sites to django 1.2.1 however I noticed my cron
> > scripts doesn't work anymore with the latest django version, I'm using
> > the setup_environ method
>
> >http://www.b-list.org/weblog/2007
Hi, i'm new on Django, and i'm getting a validation error that i don't
undestand.
Here my models:
# -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import User
from datetime import datetime
# Create your models here.
class Categoria(models.Model):
nom = mod
On Sun, Jun 6, 2010 at 9:14 AM, drakkan wrote:
> I'm migrating my sites to django 1.2.1 however I noticed my cron
> scripts doesn't work anymore with the latest django version, I'm using
> the setup_environ method
>
> http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
>
> and I t
On Sun, Jun 6, 2010 at 9:57 AM, Tomas Zulberti wrote:
> On Jun 5, 8:11 pm, Karen Tracey wrote:
> > On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti
> wrote:
> > > So my question is: is this a bug, or I am doing something wrong (I am
> > > sure I might be doing something grong but I don't know whe
On Jun 5, 8:11 pm, Karen Tracey wrote:
> On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti wrote:
> > So my question is: is this a bug, or I am doing something wrong (I am
> > sure I might be doing something grong but I don't know where).
>
> I ran into the same behavior this afternoon. I think it
with 1.2.0 beta 1 my cron script works too
On 6 Giu, 15:14, drakkan wrote:
> Hi,
>
> I'm migrating my sites to django 1.2.1 however I noticed my cron
> scripts doesn't work anymore with the latest django version, I'm using
> the setup_environ method
>
> http://www.b-list.org/weblog/2007/sep/22/st
Use south. The overhead is worth it.
On Jun 5, 12:57 pm, Dave E wrote:
> ah. forgot about the plain text in Google Groups... apologies. Again,
> in English:
>
> Given that Syncdb won't ever issue an alter table command ('no such
> column'), that Schema Evolution is still in debate, that South is
I'll go ahead and insert a plug here:
http://github.com/superjoe30/jst-parser
On Jun 6, 12:14 am, tazimk wrote:
> Hi,
>
> I want to use ajax in my templates using jquery.
> Can someone provide me some sample examples /links related to
> this.
> Also some sample examples on using Jque
Hi,
I'm migrating my sites to django 1.2.1 however I noticed my cron
scripts doesn't work anymore with the latest django version, I'm using
the setup_environ method
http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
and I tryed also the DJANGO_SETTINGS_MODULE environment variabl
On Jun 5, 9:42 pm, Richard Shebora wrote:
> A must read for using django
> withmod_wsgi...http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
And actually starting with the official mod_wsgi documentation and
getting a hello world program working first is a good idea.
ht
Hi all,
I've decided to upgrade to 1.2 but have hit a stumbling block with the
cycle tag. The release notes here
http://docs.djangoproject.com/en/dev/releases/1.2/#stateful-template-tags
say that because of the new thread safe template renderer that
including another template whilst inside a loop
hep :D
On Jun 5, 7:41 pm, nameless wrote:
> I want to add cometchat ( written in PHP ) in my djangoproject and I
> need to
> edit this function to get it work ( a function that return the userid
> of the user logged in ):
>
> function getUserID() {
>
> // I could use SESSION or other to ge
In the SQL world, you would probably store each form field value for
each submission as a row (or the entire form submission in a single
field, serialized to some known form; some DBs natively have an XML
field which might be useful).
In the noSQL world, however, this kind of situation is easier (
On Sunday, June 6, 2010, Jason Beaudoin wrote:
> On Fri, Jun 4, 2010 at 2:42 AM, Russell Keith-Magee
> wrote:
>> On Fri, Jun 4, 2010 at 12:03 PM, Jason Beaudoin
>> wrote:
>>> Silence usually implies some key piece of documentation was missed, or
>>> was this just lost amongst more interesting p
Django itself doesn't really care what JS framework you use and only
offers some framework agnostic helpers within the request object like
http://docs.djangoproject.com/en/1.2/ref/request-response/#django.http.HttpRequest.is_ajax
to distinguish requests coming as XHRs as well as
django.utils.simple
See haystack http://haystacksearch.org/
On Sun, Jun 6, 2010 at 9:10 AM, Odagi wrote:
> Hello users,
>
> I'd like to implement searches like google (i.e., resolve typos or
> similar words). For example, if I'm looking for the word 'manatan' the
> search engine should match similar words like:
>
>
I have been trying to track down this issue and here is what i found.
I created new project. Its settings are like this:
http://pastebin.com/CyiGv3nk
If the line #"jalka.context.loginform" is commented out, i can
go to admin just fine.
I i comment it in. i get
http://pastebin.com/A1mzRqFG
Hi,
I want to use ajax in my templates using jquery.
Can someone provide me some sample examples /links related to
this.
Also some sample examples on using Jquery efficiently
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi,
I want to use ajax in my templates using jquery.
Can someone provide me some sample examples /links related to
this.
Also some sample examples on using Jquery efficiently
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hello users,
I'd like to implement searches like google (i.e., resolve typos or
similar words). For example, if I'm looking for the word 'manatan' the
search engine should match similar words like:
'manatan'
'manhattan'
etc.
How can I do that using Django' querysets?
Many thanks for your attent
54 matches
Mail list logo