I am a new django user, and so far, am loving the experience. I am still fairly
new to web development as well, and was hoping someone might have the time to
comment on an issue I have with django: the lack of composite key support. I
know it's in the works, but I've noticed that it's an old is
why Django go into "site-package" ?
- it's directory for 3rd party packages, Django is python framework
For all your other questions, if you're running WINDOWS, the solution is to
setup your Enviromental Variables-System variables or you have to write
whole path to django-admin.py file
R.
On Friday 12 June 2009 11:31:43 Daniel Koepke wrote:
> I am a new django user, and so far, am loving the experience. I am still
> fairly new to web development as well, and was hoping someone might have
> the time to comment on an issue I have with django: the lack of composite
> key support.
uni
It feels ridiculous to me but we've got a filter tag that's making a
mess of our cache.
Here's the deal:
* We cache lots of stuff on our site using low level cache api and
cmemcache.
* We've got a float field on a model that we cache.
* When we use this float field in a template it works fine.
B
Yes it does! Thank you for responding! I kept looking for soutions and finally
came across unique_together just a bit ago. My apologies for not combing
harder, I figured this would be a common enough problem that if there was an
easy solution, it would be easy to find. Again, thank you!
--k
On Jul 9 2006, 3:26 pm, "william" wrote:
> Thanks Malcome,
>
> I was thinking of a kind of dispatch.connect "related-pre-save" and
> "related-post-save" for the manytomany related data.
> A bit like the existing "pre-save" and "post-save".
please see the ticket
http://code.djangoproject.com/tic
On 12 Cze, 08:23, urukay wrote:
> why Django go into "site-package" ?
> - it's directory for 3rd party packages, Django is python framework
>
> For all your other questions, if you're running WINDOWS, the solution is to
> setup your Enviromental Variables-System variables or you have to write
>
On 12 Cze, 06:33, Abhishek Nanda wrote:
> any ideas?
I'm not sure if I understood you correctly,
but if your problem is how to maintain some date
between server and client, then you have at least two choices:
1. use Django sessions:
http://docs.djangoproject.com/en/dev/topics/http/sessions/
2.
I would explore some database indexes. Is that publish date column
indexed in any way?
I've seen MySQL batch scripts drop from 30 mins plus to a minute or
two with the right index, it's worth looking into.
James
--~--~-~--~~~---~--~~
You received this message beca
I'm having a problem with a manytomany relationship in Django..
The items in the relationship (no intermediate model) are being saved
successfully through the admin (I've checked the database after
saving), but the queries that fetch the items aren't returning the new
additions.
This only seems
On Jun 12, 4:43 am, Graham Dumpleton
wrote:
>
> On Jun 12, 11:51 am, Miles wrote:
> > If someone has an idea how to get memory usage at about the same with
> > lower cpu cost than a full GC every request, please tell.
>
> In Python, garbage collecting is not real garbage collection like
> other
Hi All,
got a problem that's slowly driving me crazy:
http://mbf takes me to my apache+mod_python+django application.
However, if I click a link, e.g. http://mbf/jobs, I get the
following exception:
TypeError at jobs/
'NoneType' object is not iterable
Request Method: GET
Request URL: h
Hi,
I'm not going to integrate my application into facebook platform
I just registered my app to get the api key
In that case what are all the facilities i can avail from facebook
apart from using facebook for authentication
1. Can i get users friends list
2. will my application be allowed to send
have a look at the below link
http://uswaretech.com/blog/2009/02/how-to-build-a-facebook-app-in-django/
this may help you in understanding the integration of your application
into facebook platform
On Jun 12, 5:11 pm, gganesh wrote:
> Hi,
> I'm not going to integrate my application into faceboo
Lars Stavholm wrote:
> Hi All,
>
> got a problem that's slowly driving me crazy:
>
> http://mbf takes me to my apache+mod_python+django application.
>
> However, if I click a link, e.g. http://mbf/jobs, I get the
> following exception:
>
> TypeError at jobs/
> 'NoneType' object is not iterable
I am interested in changing the primary key of the User model to email
and also use that as the username.
I would like to maintain the admin interface as well.
I am uncertain about the ramifications of doing this. I understand
this change will need to be reflected in other models and some views,
Do you think I would have problems if I disabled the checking for
spaces?
When I register users, I have it done automatically (user fills out a
form), and Django doesn't have a problem with a space there. It's
just in the Admin interface.
--~--~-~--~~~---~--~~
You
As long as you trim start and trailing spaces, there shouldn't be any
problem, but personally I wouldn't use spaces in usernames at all.
On Jun 12, 2:42 pm, Wiiboy wrote:
> Do you think I would have problems if I disabled the checking for
> spaces?
>
> When I register users, I have it done auto
On Jun 12, 6:55 am, Marco Louro wrote:
> As long as you trim start and trailing spaces, there shouldn't be any
> problem, but personally I wouldn't use spaces in usernames at all.
Why not?
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On Jun 11, 6:35 pm, Joseph Brown wrote:
> Hi Justin - Thanks & sorry I missed your email until just now. I did try
> that, and it's interesting: it worked for any of the date based generic
> views that took a datepart parameter in the url, i.e. archive_year,
> archive_month, and archive_day. Bu
I have two classes with the same set of fields. But class B should
have this set exactly two times:
class A(models.Model):
fieldA = models.IntegerField()
fieldB = models.IntegerField()
class B(models.Model):
fieldA = models.IntegerField()
fieldB = models.IntegerField()
anothe
How can I list informations about creation-date and author in admin
view? I think i don't have to define these fields in the model,
because i can get this information with the django.auth/ history
thing.
--~--~-~--~~~---~--~~
You received this message because you ar
Hi folks,
I have set to instance of my server, one serving in http with admin
disable and another one accessible throu https with admin enable.
But this config cause me some trouble, each time I save something in
the administration interface, it redirect me to http instead of https.
(which throw
Graham,
Thanks for your help. I will try to gather more information
(hopefully a full trace) for this over the weekend.
Sorry for being a bit "informal" on my responses. I had hoped this
was a common issue, but as I have found it probably is not so common
and depends upon a number of factors.
I've now resolved this issue, it was caused by a combination of a
database config error and using the wrong model manager
Regards,
Andrew Ingram
On 12 June, 12:09, Andrew Ingram wrote:
> I'm having a problem with a manytomany relationship in Django..
>
> The items in the relationship (no interm
On Jun 11, 8:49 pm, "thsut...@gmail.com" wrote:
>
> This has been trivial in every other framework I've used and I'm sure
> it is in Django as well, but I'm completely stumped. Is there any way
> to do this which doesn't require that I write custom code for every
> form and/or checkbox in my pro
Hello everyone
I'm going to write down a quite complex problem I'm having that I'm having
trouble debugging, but before I start has anyone noticed any strange
behaviour using django nginx fastcgi and flup recently?
If there is an obvious problem that I haven't heard about then any links I"d
be gra
Hello Matt,
Couple of days back I tried firing django app on fcgi server through runfcgi
command. As indicated I installed flup packages and did python path settings
as usual and when I run it I dont get any message that its running on so and
so server and neither does it runs the server. Is it so
On Fri, Jun 12, 2009 at 4:15 AM, Jurie-Jan Botha wrote:
>
> It feels ridiculous to me but we've got a filter tag that's making a
> mess of our cache.
>
> Here's the deal:
> * We cache lots of stuff on our site using low level cache api and
> cmemcache.
> * We've got a float field on a model that w
Hello Dhruv
I've been using this configurement for ages, and we recently updated our
django code. The app runs almost %100, but there's a certain part that
calls a number of tags out of the database and displays the, and this
section is intermittently failing.
To make it even wierder it works if
Hi,
> class A(models.Model):
> fieldA = models.IntegerField()
> fieldB = models.IntegerField()
>
> class B(models.Model):
> fieldA = models.IntegerField()
> fieldB = models.IntegerField()
> anotherfieldA = models.IntegerField()
> anotherfieldB = models.IntegerField()
>
> I
On Jun 12, 9:29 am, LeeRisq wrote:
> I am interested in changing the primary key of the User model to email
> and also use that as the username.
>
> I would like to maintain the admin interface as well.
>
> I am uncertain about the ramifications of doing this. I understand
> this change will ne
On Jun 12, 12:51 am, gganesh wrote:
> hi,
> My app connects to Facebook and as user logins in with facebook
> connect ,i intent to display users friends list .I the process of
> doing so i have written a code as pasted below
>
>
> script>
>
>