Viktor wrote:
> But when I delete a round, with round.delete(), all games conected with
> that round are also deleted, but the Score table isn't updated, that is,
> the delete method from the game objects is not called?!?!
Looking at the code I see that when an objects is .delete()d all the
rel
How would one create users that could only post to a particular blog/site?On 19/06/06, limodou <[EMAIL PROTECTED]
> wrote:On 6/19/06, Frankie Robertson <
[EMAIL PROTECTED]> wrote:>> The following is used mainly as an example for something I've been> wondering about.>> Say I'm a blog host and want t
Just for the records:
I found the solution of my problem (posted in "No such column error +
tag question", where you can find the full problem and the code).
There seems to be a bug in django I did not find when I first googled for it:
The thing is, the admin interface seems to have some proble
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> How would one create users that could only post to a particular blog/site?
By writing views that check whether the user who's trying to post is
in the list of allowed users for the blog/site they're trying to post
to.
--
"May the forces of ev
Thanks James,I guess I was looking for a way to still use the great built-in admin.i.e. be able to assign users to sites within the django generated admin.On 19/06/06,
James Bennett <[EMAIL PROTECTED]> wrote:
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:> How would one create users that could
Hi,
I've read the csv and pdf howto at the documentation section and tried
to adapt it to excel files.
I'm trying to use pyExcelerator to build the Excel files.
def ficheiroExcel(request):
from pyExcelerator import *
response = HttpResponse(mimetype='application/vnd.ms-excel')
hi,
There's this info that I saw once on the list:
http://lukeplant.me.uk/blog.php?id=1107301634
I have to admit I (very) quickly tried it and could not make it
work... I'll have to spend more time over it.
If you manage to do it, please tell me.
Enjoy,
G
On 6/19/06, kevin evans <[EMAIL PROT
Hi all,
I'm relatively new to Django, so bear with me...
I'm building an app for a band website that lists details about the
band members.
I thought it'd be nice to have a Happy Birthday message display if
today was a members birthday and have built an array like so:
members_born_today =
Member.
spacedman wrote:
> So I'd say you weren't doing something terribly wrong, but it might
> not be a bug either. If this behaviour is desirable (and I cant see why
> it isn't) then it needs a bit of rewriting...
Reading the documentation and this mailing list, I came to a silly idea
that django'
Hi,
I have seen some moves in the integration of Oracle with Django.
However, I am quite lost between Trac tickets, svn (which I
cannnot access behind my corp firewall), and the latest
changes in Django.
Is it planned to support Oracle? Are there any works done in
that direction?
Lack of Oracle
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> I guess I was looking for a way to still use the great built-in admin.i.e.
> be able to assign users to sites within the django generated admin.
Right now that's not really possible because the permissions system
used in the admin assigns permi
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> However, this only works if the Member was actually born on this exact
> date (including year)... how can I filter so that it ignores the year
> and just looks at the day and month part of their birth_date??
d = datetime.date.today()
memb
Yup, that works a treat Thanks James!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, se
Hi all,
Just out of pure curiosity: has anyone had any experience / know of
any work around using RDF / triple stores with Django?
-Phil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Hi Luis,
On Mon, 2006-06-19 at 04:09 -0700, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've read the csv and pdf howto at the documentation section and tried
> to adapt it to excel files.
>
> I'm trying to use pyExcelerator to build the Excel files.
>
> def ficheiroExcel(request):
> from pyExce
> > def ficheiroExcel(request):
> > from pyExcelerator import *
> >
> > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > response['Content-Disposition'] = 'attachment;
> > filename=somefilename.xls'
> >
> > w = Workbook(HttpResponse) <-- thi
On Mon, 2006-06-19 at 12:35 +0100, Phil Powell wrote:
> Hi all,
>
> Just out of pure curiosity: has anyone had any experience / know of
> any work around using RDF / triple stores with Django?
This was the "toy project" I used to get familiar with Django in about
October last year (aah.. the mem
Hi folks,
I'm just starting looking at a django backend for a system we need to
redo. The existing db is MSSQL (yes, I know it's not quite supported
yet). We need a system which supports most of the adodb classes. We
will start with supported DB's, and hopefully the additional ones will
be rea
On Mon, 2006-06-19 at 13:04 +, Mike Crowe wrote:
> Hi folks,
>
> I'm just starting looking at a django backend for a system we need to
> redo. The existing db is MSSQL (yes, I know it's not quite supported
> yet). We need a system which supports most of the adodb classes. We
> will start w
James Bennett wrote:
> On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> > I guess I was looking for a way to still use the great built-in admin.i.e.
> > be able to assign users to sites within the django generated admin.
>
> Right now that's not really possible because the permissions system
This ought to do the job:
http://www.djangoproject.com/documentation/legacy_databases/
-Phil
On 19/06/06, Mike Crowe <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I'm just starting looking at a django backend for a system we need to
> redo. The existing db is MSSQL (yes, I know it's not quite s
Malcolm Tredinnick wrote:
> On Mon, 2006-06-19 at 13:04 +, Mike Crowe wrote:
> There is some support for this. See here:
> http://www.djangoproject.com/documentation/django_admin/#inspectdb
Hey, and let me add that you might want to check ticket 1561. Malcolm told me
that in the meantime for
djx,
You can keep up with the Row Level/Object permissions by following
the developer mailing list for example
(http://groups.google.com/group/django-developers/browse_thread/thread/53acb7ed7783f313/36df83efcdbef1e5#36df83efcdbef1e5),
and reading the projet wiki entry here
(http://code.djangopro
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
[EMAIL PROTECTED] escreveu:
> > > def ficheiroExcel(request):
> > > from pyExcelerator import *
> > >
> > > response = HttpResponse(mimetype='application/vnd.ms-excel')
> > > response['Content-Disposition'] = 'attachment;
> > > filename=somefilename.xls'
> > >
> > > w = W
Hello
Now, I am sharing with you
another website that is excellent for IT Jobs.
Currently, this website has
6000 IT Jobs.
Please check this link and enjoy
your dream job.
www.it-jse.com
Special thing about this website
is, they are presenting direct links to jobs.
They are using only D
I'm trying to create an automated booking system for educational
events. Admin user creates workshops in the admin interface, then
creates a number of related accommodation options. Website visitor
signs up for workshops (ie, potentially more than one workshop) and can
also sign up for accommodati
My form text fields are auto-filling as they should, but drop-downs are
not. If I use a generic view they work fine - but when I do that I
can't control the fields hidden from the user.
I'm trying to do this with a custom view and manipulators but have had
nothing but trouble. Why is it so diffic
Malcolm Tredinnick wrote:
> You're not really providing enough information that I can make concrete
> suggestions here. How would the "focus" of the more restricted selection
> set be determined? The standard options are...
>
> (1) If it's something you can work out from other, previously filled i
On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
> On Jun 16, 2006, at 3:02 PM, Joseph Kocherhans wrote:
>
> > Get rid of the inner Admin class on your tag object. That's what
> > causes it to show up on the main admin page.
> >
> > Joseph
>
> If I do that, then I can't add any objects inline.
On Mon, 19 Jun 2006 14:18:54 +0100
"Phil Powell" <[EMAIL PROTECTED]> wrote:
>
> This ought to do the job:
>
> http://www.djangoproject.com/documentation/legacy_databases/
Definately - it does a decent job building a starting Model, but
you will definately have to go through it and make sure ev
Indeed! Perhaps nobody thought anyone would ever override the delete()
method...
I'm not sure why the strategy is to gather together all the related
objects and then do the SQL rather than call the delete() method on
each of them. Perhaps its more efficient. Perhaps it avoids possible
loops where
I am using the Dev trunk as of Saturday with the models below:
#--
class Repair(models.Model):
tail_number = models.IntegerField(choices=AIRCRAFT_CHOICES)
location = models.CharField(maxlength=30)
damage_type = models.CharField(maxlength=50)
clas
Hi,
I have a database where many tables links to a table that store
reference data values.
Data from many "domains" are stored in a single reference data table.
The reference data table structure is something like this:
primary_key, domain_fkey,
short_code,description,is_default_value,sort_order
> Then you want entry.categories.all in your template.
That was the problem. Thanks.
--
Adam Hoscilo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
NP. Thanks guys, excellent responses!On 6/19/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
On Mon, 19 Jun 2006 14:18:54 +0100"Phil Powell" <
[EMAIL PROTECTED]> wrote:>> This ought to do the job:>> http://www.djangoproject.com/documentation/legacy_databases/
Definately - it does a decent job building
On 5/18/06, Ned Batchelder <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> We've just launched a Django-based application for story-telling, focused
> on sharing photos: Tabblo. We'd love for you to come and try it out.
> Adrian has demonstrated his skill yet again by creating a nice tabblo about
>
Hey, i've got a (simplified) model like this:
class Note (models.Model):
content = models.TextField(core=True)
class Client (models.Model):
other = models.ForeignKey(Note, blank=True)
Via the admin interface (using the latest SVN version), i can't create
a new Client instance
On 6/19/06, Jos Yule <[EMAIL PROTECTED]> wrote:
> Via the admin interface (using the latest SVN version), i can't create
> a new Client instance without also choosing or creating a new Note
> instance. I don't need to have _every_ client have a note, just some
> (the reason i carved Note off into
Dang - i just found this too:
http://www.djangoproject.com/documentation/models/many_to_one_null/
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I'm pretty much giving up on this -- unless i find an alternative, I'm
going to end up using hidden fields with the generic update view. I
know this is far from ideal, but I can't get anything else to work.
Basically this is a bug tracker - kind of a get-my-feet-wet app to test
out Django. In ord
Folk,I really like SPE (Stani's Python Editor), and was thinking about adding a module which gives a simple gui interface to start/stop server, admin, etc.Is there a simple list somewhere showing all these options?
Mike
--~--~-~--~~~---~--~~
You received this messag
Hi There,
I just released my first pubic facing Django site, and have run into a
design problem. It's a music blog / band site at
http://www.victimoftime.com
Something I didn't consider when I was building it (I'm the tech guy,
others are the content people) is that at a given concert, the band
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The problem is, how can I preserve the many to many relationship, but
> have a specific order for the bands? Any ideas?
You should be able to take the QuerySet of bands for the concert and
tack on an 'order_by()' to sort by whatever fiel
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a simple list somewhere showing all these options?
http://www.djangoproject.com/documentation/django_admin/
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~-~--~~-
James Bennett wrote:
> On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > The problem is, how can I preserve the many to many relationship, but
> > have a specific order for the bands? Any ideas?
>
> You should be able to take the QuerySet of bands for the concert and
> tack on an 'ord
Hello,
You will find below 2 very interesting links of that I am using each
time I need to create a form for a Django's model:
# Simple 'scaffolding': Spew out simple form fields as a base for
modification
- http://code.djangoproject.com/wiki/ScaffoldScript
# Simple Custom Manipulators: Spews
I would handle this kind of situation by adding an intermediate class
AttributeOfTheLink. I don't know if this is a good practice but I think
it will do the tricks.
Let me know if you find something better.
Yann
--~--~-~--~~~---~--~~
You received this message b
Here it is a link that details the solution a bit more:
-
http://www.djangoproject.com/documentation/models/m2m_intermediary/
Yann
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
I'm writing a simple app with a Document model and a Recipient model,
with a ManyToMany relationship between the two. When the document is
saved, I'd like all related recipients to be sent an email. I've tried
overriding the save() method of my Document object, but it cannot
access the related r
I am having a similar problem here.
having read the m2m_intermediary/ wiki page, I still cant wrap my head
around the idea of displaying a multiple select dropdown list of
related objects on the admin side.
--~--~-~--~~~---~--~~
You received this message because
On 6/20/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
>
> On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
> >
> > On Jun 16, 2006, at 3:02 PM, Joseph Kocherhans wrote:
> >
> > > Get rid of the inner Admin class on your tag object. That's what
> > > causes it to show up on the main admin page.
On 6/20/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> On 6/20/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> >
> > On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
> > >
> > > On Jun 16, 2006, at 3:02 PM, Joseph Kocherhans wrote:
> > >
> > > > Get rid of the inner Admin class on your tag
Hi!
Is there way to change "upload_to" parameter's behaviour?
I see there is hardcoded strftime replacement.
What I want to achieve is to organise uploaded files with directories
named with uploading user's name. eg. MEDIA_ROOT/uploads//
Regards,
ciukes.
--~--~-~--~~~-
On 6/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Yes, I was in debug. Both calling db.reset_queries() and setting debug
> = False fixed the issue.
>
> Thanks everyone!
I've added this to the FAQ because it comes up from time to time.
http://www.djangoproject.com/documentation/faq/#why-
As far as I know, the only way right now is to use the patch I wrote:
http://code.djangoproject.com/ticket/1994
Jay P.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
On 6/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> I agree 100% with James on this one. Having request.POST be an empty
> dictionary evaluating to True -- that's just too odd. I think we ought
> to bite the bullet and add request.method, which would be a shortcut
> to a normalized (all caps?
According to the docs, this should return a dictionary:
model.objects.filter(id=5).values()
However, none of the normal dictionary methods work on it, like say
"keys()."
Basically I'd like to grab an entire object and convert it to a
dictionary so I can work with it, is this possible?
--~--~-
On Mon, 2006-06-19 at 23:12 -0700, hotani wrote:
> According to the docs, this should return a dictionary:
>
> model.objects.filter(id=5).values()
Not quite: it returns something that acts like a list of dictionaries,
since there is no guarantee that your QuerySet will always contain a
single ob
Hello Ivan,
It is intereresting.
But why do you use/prefer FastCGI to mod_python ?
I am asking because I used for my Django apps FastCGI with Dreamhost
but a lot of problems - Apache server used to hang when there were a
lot of visitors. Now I switched to mod_python and it works great.
regards,
L
64 matches
Mail list logo