hi,
I have a model 'Player' and a Model 'Handicap'. Handicap will have several
fields, one of which is a foreign key to player. Now I need to get the Handicap
instance when the player had the highest handicap. I can use Max to find the
highest handicap and do a query to identify the instance wh
Carl
You may be better off starting a new thread for this, rather than
posting in the middle of someone else's (even if related).
I too have a similar issue; trying to filter records for a user based
on which "group/s" (a separate table) they belong to. Was about to
start a thread when I saw you
On Jan 24, 10:45 pm, Daniel Roseman wrote:
> You put them in your project's settings.py (which, through some magic,
> is imported via django.conf). You should not be editing any of the
> code inside Django itself, unless you know what you're doing.
Thanks for the reply..I added the login data to
5 years of python is certainly not unreasonable.
On Jan 25, 2010, at 0:20, Sam Walters wrote:
Is it just me or is asking for 5+ years for django unlikely.
http://en.wikipedia.org/wiki/Django_%28web_framework%29
"released publicly under a BSD license in July 2005"
On Mon, Jan 25, 2010 at 2:
On Monday 25 Jan 2010 10:50:27 am Sam Walters wrote:
> Is it just me or is asking for 5+ years for django unlikely.
>
Adrianh and a few others have 5+ years of django - but most of the other lead
devels are well under 5
--
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfoss
Is it just me or is asking for 5+ years for django unlikely.
http://en.wikipedia.org/wiki/Django_%28web_framework%29
"released publicly under a BSD license in July 2005"
On Mon, Jan 25, 2010 at 2:13 PM, James Matthews wrote:
> People should research before posting. But I always enjoy these
On Jan 25, 2:35 pm, Mark Underwood wrote:
> wow. thats totally my bad. Sorry graham that ive lead you on a chase
> on whats going wrong. I pretty much knew it was something I had done.
> Just not experienced enough to work it out. As it turned out, once i
> got past that little hurdle (which im
wow. thats totally my bad. Sorry graham that ive lead you on a chase
on whats going wrong. I pretty much knew it was something I had done.
Just not experienced enough to work it out. As it turned out, once i
got past that little hurdle (which im pretty sure i introduced at some
point) i got to what
Ok so today while randomly surfing the web (StumbleUpon) I came across
4 blog posts in a row about CDNs and scripts people had written for
managing them. This gave me the idea to write an automated CDN
management tool for django that will automatically optimize and upload
new versions of a file to
People should research before posting. But I always enjoy these posts.
On Fri, Jan 22, 2010 at 7:09 PM, James Bennett wrote:
> On Fri, Jan 22, 2010 at 6:48 PM, CerenGuven wrote:
> > 3-5+ years Django/Python development experience
>
> If you manage to find someone with 5+ years' Django experi
Thank you!
On Jan 25, 11:51 am, Sam Lai wrote:
> 2010/1/25 min :
>
> > Hi, everyone.
>
> > In the first place, I will login to access a web page by my "usename"
> > When I signed in, how to send my "username" into a parmaeter in the
> > views.py
>
> Look
> herehttp://docs.djangoproject.com/en/de
On Jan 25, 12:54 pm, Mark Underwood wrote:
> Hi all,
>
> Ive already posted a lot of information
> herehttp://serverfault.com/questions/103480/http-500-error-from-post-reuq...
> all the logs etc. so i figure i wont post it all again. But its come
> down to ive got a view that takes a POST reque
Hi all,
Ive already posted a lot of information here
http://serverfault.com/questions/103480/http-500-error-from-post-reuqest-to-django-vai-wsgi-and-apache
all the logs etc. so i figure i wont post it all again. But its come
down to ive got a view that takes a POST request, with a username and
pas
On Sat, Jan 23, 2010 at 7:54 PM, Atamert Ölçgen wrote:
> On Saturday 23 January 2010 13:24:44 chiranjeevi.muttoju wrote:
>> please reply if anybody know what it is..
>>
>> thank you..
>>
> It would be helpful if you send the code for the models you are trying to
> syncdb.
Indeed it would. The cod
Hi all,
I'm subclassing ImageField to add another function/property to the
standard one (probably will add more later):
from django.db import models
class RemoteImageField(models.ImageField):
def thumbnail_url(self, name):
self.storage.thumbnail_url(name)
...and then I do
2010/1/25 min :
> Hi, everyone.
>
> In the first place, I will login to access a web page by my "usename"
> When I signed in, how to send my "username" into a parmaeter in the
> views.py
Look here
http://docs.djangoproject.com/en/dev/topics/auth/#authentication-in-web-requests
Once you've done t
Hi, everyone.
In the first place, I will login to access a web page by my "usename"
When I signed in, how to send my "username" into a parmaeter in the
views.py
@login_required
def new_page(request):
#how to get the username?
form = newForm()
variables = RequestContext(request, {'f
On Mon, Jan 25, 2010 at 1:27 AM, Henrik Genssen wrote:
> Hi,
>
> I am using memcached for caching my sites. The documentation says when
> not to use it:
> http://code.google.com/p/memcached/wiki/WhyNotMemcached
>
> one point is output larger 1 MB
Ok - please stop. This is the third time you have
Hey Guys,
I'm really excited about the new messaging framework included in
Django 1.2 Alpha. I do a mix of AJAX and traditional HTTP GET requests
on my site, but I wanted an easy way to interact with the messaging
API for either methods. Please check it out and let me know your
thoughts!
http://w
yes, that helps much.
but in my dynamic field searching issue, exact field name used by
filter method. even dictionary of fields not help there.
tables = {"Author": Author, "Book": Book,}
fields = {"Author":Author().first_name, "Book":Book().title}
if requst.GET['table'] in tables:
f = fields
Stop replying to the list e-mail and start replying to each other.
If you meant how to remove it from the list history, you can't. So
please stop adding to it.
Shawn
Sent from my iPhone
On Jan 24, 2010, at 4:20 PM, Eike wrote:
Shawn:
Sorry to ask! Could you tell me how to take this conv
Shawn:
Sorry to ask! Could you tell me how to take this conversation off the
list?
Thanks!
Eike
On Jan 24, 9:22 pm, Shawn Milochik wrote:
> Please take this conversation off-list.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
David:
It is true, I contacted many people on Djangopeople and Djangogigs in
2008.
Also, I hired a programmers to help me find Django programmers for me.
I know he send out messages in my name. Maybe you could check if the
messages you are complaining are from Argentina?
But the real point is that
Thanks for that, I found a quick and easy way in the end - passing the
cookie data with javascript (as you suggested with document.cookie) to
the applet, and from there, adding the cookie to my POST, ie:
connection = url.openConnection();
connection.setDoOutput(true);
connection.
- I don't solicit Django on my website nor have I ever.
- I don't give out this email address to people who I perform work
- I give my fur name to people, not this one.
- This email address is only for contact for automation with websites
- Everything else is spam
- I've only emailed the django mai
Please take this conversation off-list.
--
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.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
Hi,
On Sat, Jan 23, 2010 at 11:55 AM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
> On Sat, Jan 23, 2010 at 6:40 PM, Malcolm Box
> wrote:
> > Hi,
> >
> > I've got an existing unit test suite using the django.test.TestCase class
> > that exercises the HTTP interface of the site, but runn
Tim:
Maybe you are right that I contacted him about working together with
me on Django Project!
But it seems that David is saying that my profile is fake and that I
ask for money!
The business proposal that I did send to many potential Django
programmers, was about working together on a project bu
Sounds like something you'd have to do with javascript by extending
the admin interface's templates.
Any other default values are best done by settings up signals for your
User class.
On a more general, yet important note, I would strongly advice against
making your own User model unless you reall
Use signals. django-registration will create a new User so you can do
something like this:
from django.db.models.signals import post_save
def give_permission(sender, user, created, **__):
if created:
user.groups.add(u"My group")
post_save.connect(give_permission, sender=User)
If you w
Just install django-tagging as normal so that it's on the system path
and included in your settings.py INSTALLED_APPS. Then you can run its
tests. Leave it like that.
Then to make it work exactly like you want it to work, subclass it.
Your other apps shouldn't pretend to depend on tagging but inste
It's not stripped by Django. You must just have forgotten to urlencode
the parameters before it goes back into the app.
On Jan 22, 12:00 am, Sumanth wrote:
> Hi ,
>
> I am having newlines in GET data , but when the data comes to server
> newline chars are removed. Is that any way I can retain new
Keep it simple. Use nginx or apache and in your Django app you simply
write to the filesystem. "Invalidation" can be done by simply deleting
the file which is easy.
Something like nginx for serving static file is faster than anything
else. I'm sure you already know how to deploy static files such a
On Jan 24, 1:32 am, Bhaskar Gara wrote:
> I am getting error for only emailfield remaining string fields are
> working fine the Error is
>
> DEBUG:root:
>
That's not the error. The error page usefully comes with a complete
traceback, plus a link to 'switch to copy and paste view' so you can
copy
On Sun, Jan 24, 2010 at 1:05 PM, mehdi0016 wrote:
> hi
> i'm new with python and django and i work on search page of my site.
> in my html search form, user can choose table(or field) which want to
> search. in server-side i use sequences of 'if' to find chosen table(or
> field) and related djang
So this might be a reaspon why you got confused. Maybe you wanted to
write about somebody else, while you read the advice I had given to
other people: „ Never pay in advance unless you know the programmer.
Always fix milestones and pay after the milestones“.
I don't think he's confusing you with
hi
i'm new with python and django and i work on search page of my site.
in my html search form, user can choose table(or field) which want to
search. in server-side i use sequences of 'if' to find chosen table(or
field) and related django model.
...
#here i assume searched fields have the same name
in your projects settings.py
harryos wrote:
> hi
> I was going thru bennet's practical django book..In the weblog app it
> mentions that the DELICIOUS_USER ,DELICIOUS_PASSWORD values should be
> set in settings file.The book mentions an import like
> from django.conf import settings
> When I look
Thanks Atamert,
This is! :)
http://docs.pyamf.org/dev/tutorials/actionscript/bytearray.html
I visited your home page and read your articles. You're bokmarked! ;)
Thanks!
2010/1/24 Atamert Ölçgen :
> Hi İbrahim,
>
> On Saturday 23 January 2010 23:59:23 H.İbrahim Yılmaz wrote:
>> Hi,
>> I'm looking
On Jan 24, 5:39 pm, harryos wrote:
> hi
> I was going thru bennet's practical django book..In the weblog app it
> mentions that the DELICIOUS_USER ,DELICIOUS_PASSWORD values should be
> set in settings file.The book mentions an import like
> from django.conf import settings
> When I looked thru t
hi
I was going thru bennet's practical django book..In the weblog app it
mentions that the DELICIOUS_USER ,DELICIOUS_PASSWORD values should be
set in settings file.The book mentions an import like
from django.conf import settings
When I looked thru the directory in django/conf I could not find a
s
Hi,
I am using memcached for caching my sites. The documentation says when
not to use it:
http://code.google.com/p/memcached/wiki/WhyNotMemcached
one point is output larger 1 MB
I have a site producing pdf files only, where size can easily go over
1 MB. As the docs above mention mogilefs as
an a
Update: removed 64-bit MySQL, installed 32-bit version from package,
re-installed MySQL-python after removing with easy_install -m (which
now also removes the line in easy-install.pth). >>>import MySQLbd is
okay. Got warning so will see if okay.
--
You received this message because you are subscr
Hi İbrahim,
On Saturday 23 January 2010 23:59:23 H.İbrahim Yılmaz wrote:
> Hi,
> I'm looking for a method to use my webcam for take a photo in my
> project. What is the best solution for that?
> Thanks
This is not Django related. You probably need to do that via Flash. This might
help;
http://s
opencv ?
On Sun, Jan 24, 2010 at 5:59 AM, H.İbrahim Yılmaz wrote:
> Hi,
> I'm looking for a method to use my webcam for take a photo in my
> project. What is the best solution for that?
> Thanks
>
> --
> http://www.arkeoloji.web.tr
>
> --
> You received this message because you are subscribed to
45 matches
Mail list logo