On Thursday 05 April 2007 21:24, James Bennett wrote:
> On 4/5/07, Gilhad <[EMAIL PROTECTED]> wrote:
> > What do you think about the "spawning another Admin with (select) button"
> > ? Is it the right way of doing things?
>
> That's what 'raw_id_adm
as usual, I have to keep users satisfied, have time with my family and
there is so much of documentation, that I cannot read it all at once, never
mentioning to remember all detail at the first reading ... I am trying, but I
am not so fast as I was when I was young)
--
Zdravi
On Thursday 05 April 2007 19:01, Jeremy Dunck wrote:
> On 4/5/07, Gilhad <[EMAIL PROTECTED]> wrote:
> ...
>
> > There is abour 10.000 songs in the table and nearly so schedulers. I need
> > to somehow connect this together and help user to sellect the right Song
> &g
Or is there another, better way to do this? (Avoiding extra SQL request for
each line of Scheduler list and still avoiding 10.000 lines long in
Scheduler change)
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message becaus
create/drop an individual table,
> preferably not from the manage.py shell?
> Thanks.
>
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
TaMeR solved my problem. Thank for interest.
(I needed
class Meta:
ordering = ['name']
)
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
On Monday 02 April 2007 09:20, TaMeR wrote:
> On Mar 31, 7:14 am, Gilhad <[EMAIL PROTECTED]> wrote:
> > I have something like this:
> >
> > class Project(models.Model):
> > name = models.CharField(maxlength=10)
> > order = models.IntegerF
entered, which is surely not too much
descriptive, as many related Projects are entered at very different times)
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
"manage.py syncdb" works
> fine, so it is not because of my setup or anything like that. i think.
>
> thanks
> konstantin
>
>
>
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are su
rom admin part (I love them) in fronted view? I've
> searched groups and posts seems to be talking about change list and
> new version of admin part, but posts were from 2005-6. Any hints
> appreciated.
>
>
>
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~--
> > > 240:00:00 (alternatively 10d 00:00:00)
> >
> > Does the timesince filter do what you require?
>
> If I understand correctly, gilhad wants to specify an interval.
>
> Possible solutions: use two PositiveIntegerFields to supply days
> and/or
%s"'
% (temp_dir,tempfile,new_tempfile))
|---|---|---|---|---os.system('mv "%s" "%s"' %
(new_tempfile,tempfile))
|---comments = song_file.get_info_key('description')
|---comment = ""
So it is clear, what indenta
django?
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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
'class Admin:' should be indented only so much as ''question' and 'pub_date'
is
> class Admin:
> pass
>
> NSTALLED_APPS = (
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'djan
riable was not the same (comes from TWO different
modules), so it got TWO different values depending on what way it was used.
(and "Python threading.local() is NOT a singleton")
So I used literally the same names in both places and everything works ...
--
Zdravi
Gilhad
[EMA
ng consistant
> with the 'lastname' and 'firstname' only.
>
> has anyone got a clue about this?
>
> thank you very much in advance.
>
I am afraid, that you want more than you can get.
The model-api.txt in section ``ordering`` states on the end:
Note that,
On Tuesday 27 March 2007 10:28, Gilhad wrote:
> > the default value is a callable, its not a value... I use exactly this
> > and it work very well for me...
> > I agree that there is duplicity (why specify a default if you override
> > it in save() ), but that shouldn&
ery call of 'process_request' is there one (and everytime the same) and for
every call of 'get_current_user' is another one (and everytime the same).
I just cannot understand it ...
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You rece
Vykon,self).save()
I did some printing on the way:
USER= gilhad
get_current_user=
get_current_user=
the middleware look now this way:
_thread_locals = local()
def get_current_user():
print 'get_current_user=',_thread_locals
return getattr(_thread_locals,
n't know of any tutorial/doc that covers how the admin implements
> filters, etc. When I wanted similar functionality on my user-visible pages
> I just read the admin souce to see how it did it...all in all it wasn't too
> tough to figure out.
>
> Karen
>
> On 3/12/07
ad the tutorial*.txt legacy_databases.txt
design_philosophies.txt django-admin.txt db-api.txt and so on, but now I need
to go directly to the point, or try to program it myself (which is against
logic and phylosofy of django ...)...
On Monday 12 March 2007 16:24, anders conbere wrote:
> Gi
Is anywhere some simple tutorial, how to implement such features (filters,
sorting, pagination) into my views? Or is the fastest way try to read and
understand source of django/contrib/admin ?
Thanks for pointing me, where I should continue with study ...
--
Zdravi
Gilhad
the problem disapeared ... maybe you can just try it ...
--
Zdravi
Gilhad
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
On Mar 7, 4:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> My site just keeps getting bigger and bigger, and the performance has
> gotten excruciatingly slow.
> ...
> Problem is, I really don't know what to do about it, or even what I
> need to be looking at, really. I've gone through a
, then enjoyable for one screen)
Is anywhere some simple tutorial, how to implement such features into my
views? Or is the fastest way try to read and understand source of
django/contrib/admin ?
Thanks for pointing me, where I should continue with study ...
--
Zdravi
Gilhad
[EMAIL
25 matches
Mail list logo