the problem was caused by django-admin-bootstrapped
Il giorno lunedì 4 maggio 2015 18:46:08 UTC+2, André Luiz ha scritto:
>
> You can do it in in urls.py for example[1]
>
> [1]: https://gist.github.com/dvl/0bed149bee4556b32d7a
>
> 2015-05-02 5:55 GMT-03:00 drakkan <drakk...
Hi,
I would like to customize django 1.8 site title without override the
template using AdminSite,
I customized AdminSite as per doc here:
https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#customizing-the-adminsite-class
this seems to work, however the html title still has "Django
try to emulate
what the db can do natively and much quicker
Nicola
> /Markus
>
> On Friday, November 14, 2014 4:23:52 PM UTC+1, drakkan wrote:
>>
>> Hi,
>>
>> I'm migrating my app to 1.7 and to builtin django migrations from south,
>> I need something like
Hi,
I'm migrating my app to 1.7 and to builtin django migrations from south, I
need something like this:
http://south.readthedocs.org/en/latest/databaseapi.html#db-delete-foreign-key
how to remove a foreign key using django builtin migration api?
Please note that my purpose is to remove the
On 8 Lug, 14:44, Thomas Guettler <h...@tbz-pariv.de> wrote:
> On 06.07.2011 15:33, drakkan wrote:> On 6 Lug, 14:03, akaariai
> <akaar...@gmail.com> wrote:
> >> On Jul 5, 10:54 pm, drakkan <drakkan1...@gmail.com> wrote:
>
> ...
>
> > using pgpoo
You can download the code here:
http://77.43.75.110/temp/cinquestelle.tar.gz
you need sorl as dependencies too:
http://pypi.python.org/pypi/sorl-thumbnail/3.2.5
On 6 Lug, 15:57, Björn Lindqvist <bjou...@gmail.com> wrote:
> 2011/7/6 drakkan <drakkan1...@gmail.com>:
>
>
On 6 Lug, 14:03, akaariai <akaar...@gmail.com> wrote:
> On Jul 5, 10:54 pm, drakkan <drakkan1...@gmail.com> wrote:
>
> > so play is outperforming django! obviously django is not in debug mode
> > ecc..., is there something wrong in my test setup (I already tried to
&g
y high traffic website),
on an intel atom play is 15x faster than django and this is
noticeable.
I know about caching and play support memcached too, I guess if I
enable memcached on both framework the results doesn't change much,
thanks for your suggestions
>
> Thomas
>
> On 06.07.
On 5 Lug, 22:57, bruno desthuilliers <bruno.desthuilli...@gmail.com>
wrote:
> On 5 juil, 21:54, drakkan <drakkan1...@gmail.com> wrote:
>
> (snip)
>
> > or django/python is simply much slower than java?
>
> According to most benchmarks, Python (that is
>
> > Percentage of the requests served within a certain time (ms)
> > 50% 16
> > 66% 19
> > 75% 22
> > 80% 23
> > 90% 27
> > 95% 30
> > 98% 34
> > 99% 38
> > 100% 47 (longest request)
>
>
n to improve performance is appreciated,
thanks in advance,
drakkan
--
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, send email to
On 27 Giu, 18:00, Walt wrote:
> I'm not sure if it works in this context but have you tried
> self.instance.id?
No it doesn't work in my context, other ideas?
>
> Walt
>
> -~
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi,
I'm customizing the django admin and I need to do a particular filter
for a foreign key if I'm modifying a model, I'm using the following
method, it works but it seems to me an hack, is there a better way to
do the same thing?
def formfield_for_foreignkey(self, db_field, request, **kwargs):
On 6 Giu, 16:31, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sun, Jun 6, 2010 at 9:14 AM, drakkan <drakkan1...@gmail.com> 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
with 1.2.0 beta 1 my cron script works too
On 6 Giu, 15:14, drakkan <drakkan1...@gmail.com> 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 me
script using python
manage.py shell, they works fine so I think something changed in the
environment initialization
any hints?
thanks
drakkan
--
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
Hi,
I'm using the admin interface with some filefield, I tested with a big
file (200 MB) and it was successfully uploaded, this is ok but I would
like a way to limiting the uploaded size for example to a maximun of
10 MB, any hints?
thanks
drakkan
You can:
1) redefine your sa models in django models.py
2) use sqlalchemy-migrate for database migration and initial data
population, I never used json for initial data with migrate
drakkan
On 26 Ago, 17:29, ajay <vnbang2...@gmail.com> wrote:
> HI,
> I have used sqlalchemy
database and in some edge case I need to return
a large number of results (about 150.000 when I get the error). I make
only one query with select_related and I tried also with DEBUG=False
but nothing changed only the detailed stack trace isn't printed,
thanks
drakkan
On 5 Ago, 21:02, Peter Herndon
No I'm not serving static file I have a very large json file
dinamycally generated (based on a db query)
On 5 Ago, 15:28, Mike Ramirez <gufym...@gmail.com> wrote:
> On Wednesday 05 August 2009 04:08:15 am drakkan wrote:
>
>
>
> > here is the excpetion returned while tryi
No sorry isn't a file upload but is django to serve a large file
On 5 Ago, 13:47, krylatij wrote:
> tryhttp://docs.djangoproject.com/en/dev/ref/settings/#file-upload-max-me...
--~--~-~--~~~---~--~~
You received this message because you are
r/lib/python2.4/site-packages/django/db/models/query.py" in
get_cached_row
987. obj = klass(*fields)
File "/usr/lib/python2.4/site-packages/django/db/models/base.py" in
__init__
263. setattr(self, field.attname, val)
Exception Type: MemoryError
issue with
django trunk
thanks
drakkan1000
On 13 Apr, 22:43, drakkan <drakkan1...@gmail.com> wrote:
> ok I'll try it,
>
> thanks
> drakkan1000
>
> On 13 Apr, 22:39, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
> > On Mon, Apr 13, 2009 at 4:37 PM, drakkan <
ok I'll try it,
thanks
drakkan1000
On 13 Apr, 22:39, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Mon, Apr 13, 2009 at 4:37 PM, drakkan <drakkan1...@gmail.com> wrote:
>
> > I'm using ugettext, I have to use the lazy variant?
>
> > On 13 Apr, 21:53, Ramiro
I'm using ugettext, I have to use the lazy variant?
On 13 Apr, 21:53, Ramiro Morales <cra...@gmail.com> wrote:
> On Mon, Apr 13, 2009 at 4:30 PM, drakkan <drakkan1...@gmail.com> wrote:
>
> > I found a workaround I have to do:
>
> > 'status':_(u.get_status_displa
I found a workaround I have to do:
'status':_(u.get_status_display())
even if I have already marked the string for translation in models:
STATUS=(
(1,_('Active')),
(0,_('Inactive')),
)
this is a really strange behaviour ...
On 13 Apr, 21:07, drakkan <drakkan1...@gmail.com>
alted, why?
On 13 Apr, 19:11, drakkan <drakkan1...@gmail.com> wrote:
> Hi, I'm trying to use i18n with django. I followed the docs and
> created my transalations for english,italian and spanish
>
> in settings I have:
>
> ugettext = lambda s: s
>
> LANG
Hi, I'm trying to use i18n with django. I followed the docs and
created my transalations for english,italian and spanish
in settings I have:
ugettext = lambda s: s
LANGUAGES = (
('en', ugettext('English')),
('it', ugettext('Italian')),
('es', ugettext('Spanish')),
)
and I
):
return self.to + self.cc + self.bcc
regards
drakkan
On 28 Mar, 01:13, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
> On Fri, 2009-03-27 at 16:50 -0700, drakkan wrote:
> > Hi all,
>
> > there is a way to send cc mail using django mail wrapper?
>
> > rea
Hi all,
there is a way to send cc mail using django mail wrapper?
reading the official docs:
http://docs.djangoproject.com/en/dev/topics/email/#topics-email
seems only possible to define to and bcc recipients but not cc,
thanks
drakkan1000
understand you are not interested to add this features to django :-(,
we can however use django and raw sql
regards
drakkan
On 9 Gen, 02:26, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
> On Thu, 2009-01-08 at 04:54 -0800, drakkan wrote:
> > In my database I have s
,
reagards
drakkan
--~--~-~--~~~---~--~~
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, send email to
dj
On 6 Gen, 00:41, drakkan <drakkan1...@gmail.com> wrote:
> On 6 Gen, 00:32, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
>
>
>
> > On Mon, 2009-01-05 at 06:31 -0800, drakkan wrote:
> > > however if i delete an user with records associa
On 6 Gen, 00:32, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
> On Mon, 2009-01-05 at 06:31 -0800, drakkan wrote:
> > however if i delete an user with records associated in the view I have
> > this error:
>
> > NotSupportedError: cannot delete f
On 6 Gen, 00:06, "Russell Keith-Magee" <freakboy3...@gmail.com> wrote:
> On Mon, Jan 5, 2009 at 11:31 PM, drakkan <drakkan1...@gmail.com> wrote:
>
> > Hi all,
>
> > I mapped a database view in django model as a normal database table,
> ...
&g
?
regards
drakkan
--~--~-~--~~~---~--~~
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, send email
36 matches
Mail list logo