CKEDITOR not working on certain models

2015-04-21 Thread Thomas Weholt
, handling the exact same html as before should suddenly stop working because I added some fields using an abstract model with fields not even being rendered on the page which has now stopped working. Any hints? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message b

Custom model field and custom widget

2015-01-30 Thread Thomas Weholt
Hi, I need to create a custom django model field, a varchar(10) field which has a calculated value set on save on the model using it and then never changed. This should happen automatically. This field should appear as hidden or read-only in forms and it would be nice to handle the render

Is there a complete pinax-based or similar starter project available?

2014-03-01 Thread Thomas Weholt
is the current status of the project? Are there other projects to base a social site on, similar to pinax? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Django Debug Toolbar 1.0 beta released

2013-12-16 Thread Thomas Weholt
@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/2d498dbe-3880-4986-9dc6-a4f7a68ed1b6%40googlegroups.com > . > For more options, visit https://groups.google

Re: Python 3

2013-10-23 Thread Thomas Weholt
n the web visit > https://groups.google.com/d/msgid/django-users/fcab2249-1b88-405a-9106-dd2b544d3d07%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because y

Re: How to make set background image for printout layout

2013-06-13 Thread Thomas Weholt
ceiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out.

Re: background image for table not apply in printout page and email copy - Django

2013-06-13 Thread Thomas Weholt
om. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org

Re: How does it all work

2013-06-10 Thread Thomas Weholt
om/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

Re: Please help me in Django

2013-06-10 Thread Thomas Weholt
http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users&

Re-usable app for REST API creation with Python 3 support?

2013-04-22 Thread Thomas Weholt
? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.co

Re: IDE to practice django template language

2013-04-19 Thread Thomas Weholt
, Apr 19, 2013 at 3:35 PM, Tim Cook <t...@mlhim.org> wrote: > > > On Fri, Apr 19, 2013 at 9:01 AM, Thomas Weholt <thomas.weh...@gmail.com>wrote: > >> PyCharm! Allthough commercial - it's great and really worth the prize, >> and now is on sale for half prize! &

Re: IDE to practice django template language

2013-04-19 Thread Thomas Weholt
django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

Re: What to Django people have to say about Javascript frameworks to complement Django's philosophy on the front end

2013-04-18 Thread Thomas Weholt
re subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group

Re: Status of Django with Python 3.x

2013-04-11 Thread Thomas Weholt
roups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the G

Re: Suddenly manage.py syncdb fails with 'no such table django_session'

2013-04-09 Thread Thomas Weholt
I've later discovered that, in my case, one of my other packages, which monkey patches my models, most likely is the cause of the problem. Thomas On Tue, Apr 9, 2013 at 12:41 PM, Serdar Dalgic <s...@serdardalgic.org> wrote: > On Thu, Apr 4, 2013 at 10:24 PM, Thomas Weholt &l

Suddenly manage.py syncdb fails with 'no such table django_session'

2013-04-04 Thread Thomas Weholt
)) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(PROJECT_PATH, 'database.db'), 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': '', } } What's going on? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org

Re: django notification like facebook

2013-03-18 Thread Thomas Weholt
@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mvh/Best regards, Thomas Weholt http://www.weh

Re: Profiling django apps using Python 3? No hotspot module.

2013-03-14 Thread Thomas Weholt
eiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > &

Profiling django apps using Python 3? No hotspot module.

2013-03-14 Thread Thomas Weholt
? If not I'll try to port one of the ones I've found but why re-invent the wheel? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Announcement: django-quickview 0.3 - putting the nitro in rapid web development

2013-02-28 Thread Thomas Weholt
On Thu, Feb 28, 2013 at 4:10 PM, Tom Evans <tevans...@googlemail.com> wrote: > On Wed, Feb 27, 2013 at 7:39 PM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> pypi : https://pypi.python.org/pypi/django-quickview/ >> Source at https://bitbucket.org/weholt/django

Re: Announcement: django-quickview 0.3 - putting the nitro in rapid web development

2013-02-28 Thread Thomas Weholt
Packaging python is hard!! Fixed the problem now. pip install django-quickview works. Sorry. Thomas On Thu, Feb 28, 2013 at 5:03 AM, Bino Oetomo <wowo...@gmail.com> wrote: > > > On Feb 28, 2:39 am, Thomas Weholt <thomas.weh...@gmail.com> wrote: >> >> Docum

Announcement: django-quickview 0.3 - putting the nitro in rapid web development

2013-02-27 Thread Thomas Weholt
;-) -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.co

Re: ANNOUNCE: Django 1.5 released

2013-02-26 Thread Thomas Weholt
s?hl=en. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails fr

Re: error in templates...

2013-02-19 Thread Thomas Weholt
django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mvh/Best regards,

django-quickview v0.1 released - proof-of-concept/comments wanted

2013-02-18 Thread Thomas Weholt
. The testsite-folder at bitbucket contains a working example. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Django 1.5 & Python 3 - porting packages to Python3

2013-02-15 Thread Thomas Weholt
-debug-toolbar, django-celery etc. Are there any focus in the community on getting packages ready for python3? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: plz help me i have checked many time but i could not find error place.....

2013-02-06 Thread Thomas Weholt
t; To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more

Re: Unicode/Non-ASCII characters in the admin throws exception

2013-01-29 Thread Thomas Weholt
to the maintainers. First up; Django debug toolbar :-) Thomas On Monday, January 28, 2013 10:07:22 PM UTC+1, Thomas Weholt wrote: > > This is a recurring problem for django users obviously by the amount of > posts returned by google and I've had this problem in the past as well, but > cannot re

Unicode/Non-ASCII characters in the admin throws exception

2013-01-28 Thread Thomas Weholt
This is a recurring problem for django users obviously by the amount of posts returned by google and I've had this problem in the past as well, but cannot remember how I got around it. Googling did'nt help either. When I use Norweian characters like ØÆÅ in CharField-field in the django admin I

Re: Iphone applications via django

2012-09-11 Thread Thomas Weholt
, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- Mvh/Best regards, Thomas Weholt http://www.weholt.

Pure python-alternative to Gunicorn/NGINX/Serving static content

2012-08-09 Thread Thomas Weholt
I'm using gunicorn and nginx on ubuntu when deploying my django projects, but now I need to run a project on several platforms, including windows. Is there a similar pure python configuration ( with the expected reduced performance for serving static content )? -- Mvh/Best regards, Thomas Weholt

Re: Middleware manipulating template in response

2012-08-09 Thread Thomas Weholt
>> except TemplateDoesNotExist: >>> return >>> else: >>> view_kwargs["template"] = template >>> >>> return view_func(request, *view_args, **view_kwargs) >>> >>> >>> &g

Middleware manipulating template in response

2012-08-09 Thread Thomas Weholt
, "send", "seri", "sgh-", "shar", "sie-", "siem", "smal", "smar", "sony", "sph-", "symb", "t-mo", "teli"

How to render a modeladmin dynamically?

2012-06-22 Thread Thomas Weholt
using a custom template extending the normal change_list template. I cannot add these things to the modeladmin of the models in question, it has to be done at runtime. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google

Making fields read-only after first save in admin

2012-06-18 Thread Thomas Weholt
I want to make a few foreignkey-fields read-only in the admin after the post is saved, ie when the change-form for that item is opened after the item has been saved the two foreignkeys in question should not be editable. In my case the user has to chose two foreignkeys when first adding an entry,

Re: Import from local ftp server

2012-04-30 Thread Thomas Weholt
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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Thomas Weholt
le Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/dj

Re: Bulk Creating Django Models from CSV File?

2012-04-02 Thread Thomas Weholt
You might want to look at DSE as well. Currently is has some issues with Django 1.4, but I'll look into fixing those tonight. https://bitbucket.org/weholt/dse2 Regards, Thomas Weholt On Mon, Apr 2, 2012 at 7:24 AM, Victor Hooi <victorh...@gmail.com> wrote: > Hi, > > I have se

Re: Finding It Hard To Make It Work!

2012-02-08 Thread Thomas Weholt
>         >> >     >> >       >> >            {{ mobForm }} >> >       >> >       >> >     >> >        {% endblock %} >> >> > What am I doing wrong? Would love to hear your opinion. >> >> > -- >> &g

Dual license in a django world

2012-01-09 Thread Thomas Weholt
time on my django projects if they generated some kind of income. What do you think? How would a dual license be recieved in the django community? Any tip or thought on the subject would be appreciated. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message

Re: Interface implementation in python

2012-01-04 Thread Thomas Weholt
this group, send email to >> > django-users+unsubscr...@googlegroups.com >> > (mailto:django-users+unsubscr...@googlegroups.com). >> > For more options, visit this group >> > athttp://groups.google.com/group/django-users?hl=en. > > -- > You rece

Re: Introducing: pythonpackages.com

2012-01-03 Thread Thomas Weholt
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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at >

Re: Which IDE should I use for Django?

2011-12-19 Thread Thomas Weholt
t;> Best among the free is Aptana Studio. >> >> Thanks, >> Anoop Thomas Mathew >> >> atm >> ___ >> Life is short, Live it hard. >> >> >> >> >> >> On 19 December 2011 16:41, Thomas Weholt <thomas.weh...@g

Re: Which IDE should I use for Django?

2011-12-19 Thread Thomas Weholt
tp://groups.google.com/group/django-users?hl=en. >> > > -- > 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

Re: Bulk import of data

2011-12-04 Thread Thomas Weholt
t; To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- Mvh/Best regards, Thomas W

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Thomas Weholt
rs?hl=en. >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/_OtQN-CLLLEJ. > To post to this group, send email to djan

Re: Caching static images using memcache/nginx

2011-09-15 Thread Thomas Weholt
here you > can see which headers you need to set to tell the client browser to cache a > resource. > > > On Thu, Sep 15, 2011 at 4:51 PM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> >> Good point Cliff! I just assumed serving static content would be

Re: Caching static images using memcache/nginx

2011-09-15 Thread Thomas Weholt
ly that serving static thumbnails is actually the thing > slowing your app down. > > Cheers, > Cliff > > > On Thu, 2011-09-15 at 15:24 +0200, Thomas Weholt wrote: >> Ok, this might sound a bit off-topic but bear with me. >> >> I got a templatetag in an app t

Caching static images using memcache/nginx

2011-09-15 Thread Thomas Weholt
. Sorry if it's still of topic. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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,

Re: Using gedit for django development

2011-09-13 Thread Thomas Weholt
com/group/django-users?hl=en. > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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

Re: Norwegian Sorting

2011-09-09 Thread Thomas Weholt
, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribe

Values for ManyToMany-field set in code not visible in admin

2011-08-29 Thread Thomas Weholt
in the change_form for the model are not selected. Selected the values for the ManyToMany-field in the admin manually is saved ok and display ok. What's the difference between setting fields like this in code and doing it in the admin? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org

Re: Where's the code picking apart the info about selected filters in the admin change_list stored in the current session?

2011-08-28 Thread Thomas Weholt
/cl/unsubscribe.php> > > 866-288-1880 > 5150 yarmouth ave, Encino, CA 91316 > On Sun, 28 Aug 2011 18:43:54 +0200, Thomas Weholt ** wrote: > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups &

Where's the code picking apart the info about selected filters in the admin change_list stored in the current session?

2011-08-28 Thread Thomas Weholt
want to create a similar piece of code as an alternative change_list in the admin. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Creating an alternative change_list view for a specific app/model, not extending or overriding

2011-08-25 Thread Thomas Weholt
you to render > properly depending on the aforementioned attribute provided you're passing > the request in the Context. > > This event allows you to fine tune which bits you want to change. > > Le 24 août 2011 23:38, "Thomas Weholt" <thomas.weh...@gmail.com> a écrit

Creating an alternative change_list view for a specific app/model, not extending or overriding

2011-08-24 Thread Thomas Weholt
to do this as well in my alternative view. I want to use the date-hierarchy, filtering, pagination, admin actions etc you get for free in the admin in my alternative view. Is this possible? How do I reuse most of the existing admin code to achieve this? -- Mvh/Best regards, Thomas Weholt http

Re: can django be used in destop application?

2011-08-24 Thread Thomas Weholt
edia Ltd] wrote: > > -- > 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 > django-users+unsubs

Re: New user - Trouble starting

2011-08-15 Thread Thomas Weholt
-- > 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 > django-users+unsubscr...@googlegroups.com. >

Using {% url somenamedview %} in a custom page extending admin templates

2011-08-15 Thread Thomas Weholt
. So the question is; how can I use the url template tag in templates extending the standard admin templates and refer to a view defined in my app by name? What am I now seeing here? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-15 Thread Thomas Weholt
at > http://groups.google.com/group/django-users?hl=en. > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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@go

Re: 3rd party Apps in Django

2011-08-15 Thread Thomas Weholt
ge 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this

Re: "Great circle" using the django ORM?

2011-08-12 Thread Thomas Weholt
, Thomas Weholt <thomas.weh...@gmail.com> wrote: > Hi all, > > This is what I've come up with so far. Not tested, but I came across > an old piece of code doing the same thing ( I knew I'd done it before, > just had to look deep into my code archives ;-) ): > > http://dpaste.co

Re: "Great circle" using the django ORM?

2011-08-12 Thread Thomas Weholt
math. > > I bet Google has worked all this out before.. > > Good luck - and I'm interested in the result. > > Mike > > On 12/08/2011 5:51pm, Thomas Weholt wrote: >> >> Thanks for your detailed reply :-) I'll try to figure it out. So far I >> got a few ca

Re: "Great circle" using the django ORM?

2011-08-12 Thread Thomas Weholt
-query (or so) involved. > > You might even be able to do it using the "raw" model manager method, though > having calculated the cos of the distance angle, and assuming that you will > want to display the distance to each candidate, you would like to have it > returned, and it's not a

"Great circle" using the django ORM?

2011-08-11 Thread Thomas Weholt
and probably the best solution performance wise, but if it has to be done in python I'll do that too. Ref question on stackoverflow: http://stackoverflow.com/questions/4610717/django-determining-if-geographic-coordinates-are-inside-of-an-circle -- Mvh/Best regards, Thomas Weholt http

Re: Keep filtering from change_list in admin in custom page?

2011-08-10 Thread Thomas Weholt
ng for new change_list template > https://docs.djangoproject.com/en/dev/ref/contrib/admin/#custom-template-options > > On Wed, Aug 10, 2011 at 2:49 PM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> >> Hmmm ... Not sure how to do that. You could say I want an altern

Re: Keep filtering from change_list in admin in custom page?

2011-08-10 Thread Thomas Weholt
:07 AM, Subhranath Chunder <subhran...@gmail.com> wrote: > Yes, you can do that. You would have to override the default > change_view_template. And if required, then probably the changelist_view() > too. > > On Wed, Aug 10, 2011 at 2:28 PM, Thomas Weholt <thomas.w

Keep filtering from change_list in admin in custom page?

2011-08-10 Thread Thomas Weholt
up on the right side of the page. But I want to have a custom page for displaying the actual photos using the same filter set in the change_list page. Is this possible? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google

Re: Komodo IDE better screenshots (worth reading!)

2011-08-01 Thread Thomas Weholt
email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Mvh/Best regards, Thomas Weholt http://www.we

Re: Some thoughts on a package/stack compile system for easy distribution of webapps..

2011-07-06 Thread Thomas Weholt
ost to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Mvh/Best regards, Thoma

ANN : Kolibri v.0.2.0 - framework for background processing built on celery

2011-07-06 Thread Thomas Weholt
with the option of taking input from the user before executing background tasks. Screencast at www.weholt.org. Thanks for your attention. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Calling a custom templatetag inside a block/extrahead-block?

2011-07-04 Thread Thomas Weholt
On Mon, Jul 4, 2011 at 6:09 PM, Ian Clelland <clell...@gmail.com> wrote: > On Monday, July 4, 2011, Thomas Weholt <thomas.weh...@gmail.com> wrote: >> I've created a templatetag called {% kolibri_imports %} which I use >> the in the head-section of my templates. It import

Calling a custom templatetag inside a block/extrahead-block?

2011-07-04 Thread Thomas Weholt
'endblock' or 'endblock extrahead' So; How can I call a defined templatetag inside my {% block extrahead %}-block? I've tried {% block extrahead %} {{kolibri_imports }} But that didn't produce anything. This is probably simple, but ... thanks for you input. -- Mvh/Best regards, Thomas Weholt

Re: ANN: django-iadmin

2011-07-04 Thread Thomas Weholt
..@gmail.com> >> >> I agree with Thomas, It'll be great it you are providing screenshots or >> demo project. >> >> On Mon, Jul 4, 2011 at 7:01 PM, Thomas Weholt <thomas.weh...@gmail.com> >> wrote: >>> >>> Did you have any screenshots? Di

Re: ANN: django-iadmin

2011-07-04 Thread Thomas Weholt
ango-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org --

Re: Ann: DSE v.3.0.0 Beta #1

2011-06-24 Thread Thomas Weholt
bcast. That way we have > two different approaches to choose/cherry pick from :) Yes, that would be great :-). > Russ, thanks for letting us know about this. +1 > > On 24 Jun 2011 06:49, "Thomas Weholt" <thomas.weh...@gmail.com> wrote: >> >> On Fri

Re: Ann: DSE v.3.0.0 Beta #1

2011-06-23 Thread Thomas Weholt
On Fri, Jun 24, 2011 at 3:54 AM, Russell Keith-Magee wrote: > On Fri, Jun 24, 2011 at 9:44 AM, Cal Leeming [Simplicity Media Ltd] > wrote: >> >> >> On Fri, Jun 24, 2011 at 2:34 AM, Russell Keith-Magee >>

Ann: DSE v.3.0.0 Beta #1

2011-06-23 Thread Thomas Weholt
had almost unique values would benefit from the update-method, but importing data from photos, id3-tags from your music collection etc would process much faster using bulk_update. Thanks to Cal Leeming [Simplicity Media Ltd] for inspiration on this one :-) -- Mvh/Best regards, Thomas W

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-22 Thread Thomas Weholt
m. I expect to release DSE v.2.2.0 with this feature in the next few days. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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@googlegrou

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-22 Thread Thomas Weholt
On Wed, Jun 22, 2011 at 3:52 PM, Cal Leeming [Simplicity Media Ltd] wrote: > Sorry, let me explain a little better. > (51.98s) Found 49659 objs (match: 16563) (db writes: 51180) (range: > 72500921 ~ 72550921), (avg 16.9 mins/million) - [('is_checked', >

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-22 Thread Thomas Weholt
0), ('has_link', 1517), ('is_spam', 4)] > Could you let me know if those benchmarks are better/worse than using DSE? > I'd be interested to see the comparison! > Cal > On Wed, Jun 22, 2011 at 2:31 PM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> >> Yes! I'm in. >

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-22 Thread Thomas Weholt
oup, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribe

Re: ANN: django-kolibri - a concept for Asynchronous Processors/Workflow management for django.

2011-06-22 Thread Thomas Weholt
On Wed, Jun 22, 2011 at 2:01 PM, Ethan Jucovy <ethan.juc...@gmail.com> wrote: > On Tue, Jun 21, 2011 at 5:09 PM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> >> Proof of concept. Need comments. Released under a modified BSD-license. >> >>

Re: ANN: django-kolibri - a concept for Asynchronous Processors/Workflow management for django.

2011-06-21 Thread Thomas Weholt
On Tue, Jun 21, 2011 at 11:16 PM, Calvin Spealman wrote: > Interesting project. My first question was going to be "Why aren't you > just using Celery?" until I got to the part of the description that > says it is built on *top* of celery. Yes, it might be a good idea to put

ANN: django-kolibri - a concept for Asynchronous Processors/Workflow management for django.

2011-06-21 Thread Thomas Weholt
-entry don't get formatted like restructured text that would be swell. Thanks! -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Multiple forms into one form/trouble accessing form fields

2011-06-15 Thread Thomas Weholt
the fields into one new form. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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,

Trouble with simple aggregation

2011-06-08 Thread Thomas Weholt
Say I got a model like so: class Article(models.Model): title = models.CharField(max_length=100) text = models.TextField() category = models.CharField(max_length=20) author = models.CharField(max_length=50) Article.objects.create(title="Foo", text="Story about foo",

How to get user object from RequestContext?

2011-05-30 Thread Thomas Weholt
How do I get the user related to the current request in templatetag? Using RequestContext? @register.tag(name='sometag') def sometag(parser, token): try: tagname, model_inst = token.split_contents() except ValueError: raise template.TemplateSyntaxError, "%r tag requires

Django development with iPad as target platform?

2011-05-27 Thread Thomas Weholt
I just got my hands on an iPad and was wondering if anybody has done any django development where the iPad was the target platform/browser/client? Thanks in advance and expect some django-app aimed at ipad in the near future ;-). -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You

Master/detail in the admin

2011-05-25 Thread Thomas Weholt
details related to a specific master-record and reuse as much of the admin-code/featurebase as possible. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

ANN: DSE 2.0.0-RC1, now using the BSD license.

2011-05-18 Thread Thomas Weholt
the BSD license ( and that's the only change compared to beta9 ). http://pypi.python.org/pypi/dse/2.0.0-RC1 -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: How to choose a license for an app or a project?

2011-05-13 Thread Thomas Weholt
On Fri, May 13, 2011 at 6:55 PM, Jacob Kaplan-Moss <ja...@jacobian.org> wrote: > On Fri, May 13, 2011 at 11:30 AM, Thomas Weholt <thomas.weh...@gmail.com> > wrote: >> Hmmm ... maybe, but because of the reusable app focus in django I >> think some sort of guideli

Re: How to choose a license for an app or a project?

2011-05-13 Thread Thomas Weholt
I can benefit from bug fixes, added features etc. So I still believe GPL is the right license for me to use. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: How to choose a license for an app or a project?

2011-05-13 Thread Thomas Weholt
On Fri, May 13, 2011 at 4:15 PM, Tom Evans wrote: > On Fri, May 13, 2011 at 3:05 PM, Boštjan Mejak > wrote: >> For example, the CCleaner GUI application provides only the setup (so the >> binaries) of the application. They don't give the source

How to choose a license for an app or a project?

2011-05-13 Thread Thomas Weholt
st regards, Thomas Weholt http://www.weholt.org -- 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 django-users+unsubscr

Re: CharField with choices gets no ... choices

2011-05-12 Thread Thomas Weholt
On Thu, May 12, 2011 at 10:09 AM, Jani Tiainen <rede...@gmail.com> wrote: > On Thu, 2011-05-12 at 09:59 +0200, Thomas Weholt wrote: >> I got a model looking something like this >> >> class SomeModel(models.Model): >>     somefield = models.CharField(m

CharField with choices gets no ... choices

2011-05-12 Thread Thomas Weholt
as a string and I could not set any choice-property. -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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 unsubs

Problems using django-taggit; tags disappear in the admin

2011-05-11 Thread Thomas Weholt
;> AdvancedPhoto.objects.all()[1].tags.all() [, , ] This works fine. Saving/adding a photo in the admin and then checking it in the shell afterwards: >>> from photoapp.models import * >>> AdvancedPhoto.objects.all()[0].tags.all() [] Hmmm ... what's going on?? -- Mvh/Best regards, Tho

How to use django-taggit in admin.py?

2011-05-11 Thread Thomas Weholt
the admin related to my model? -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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, s

Re: performance of model instgance save()

2011-05-11 Thread Thomas Weholt
On Wed, May 11, 2011 at 10:21 AM, Daniel Roseman wrote: > On Wednesday, May 11, 2011 7:50:16 AM UTC+1, Brian wrote: >> >> Sure - it's just that bit more convenient and readable to use the ORM >> approach. If I get the chance, I must try substituting direct calls to >>

  1   2   >