django-xadmin datetime widgets not working?

2015-04-21 Thread Christian Schulz
Hi there, I have datetime fields (mysql) with NULL values and in django with models.DateTimeField(blank=True,null=True). It's something like "valid_from" and "valid_to" and I use it as a condition if valid_to is NULL. Existing values are showed correctly , I can modify the values and set

Re: redirect to admin with parameter

2014-10-13 Thread Christian Schulz
Got it with a simple redirect. Am Montag, 13. Oktober 2014 11:54:31 UTC+2 schrieb Christian Schulz: > > Hey, > > i'd like to redirect with a parameter to specific entry in an admin model > table entry > Is it possible with a TemplateView in urls.py directly? > > If not

redirect to admin with parameter

2014-10-13 Thread Christian Schulz
Hey, i'd like to redirect with a parameter to specific entry in an admin model table entry Is it possible with a TemplateView in urls.py directly? If not , what is the proper way to do it without a template? Example I call: reporting/netreach/2695/ and would like redirect to

Re: fire and "forget" in a view

2013-12-20 Thread Christian Schulz
Am Freitag, 20. Dezember 2013 14:57:16 UTC+1 schrieb Tom Evans: > > On Fri, Dec 20, 2013 at 11:11 AM, Christian Schulz > <mining...@gmail.com > wrote: > > Hi, > > > > in my views i have method calls which might be take some time. It is > > sufficient

fire and "forget" in a view

2013-12-20 Thread Christian Schulz
Hi, in my views i have method calls which might be take some time. It is sufficient to return a simple message and request the result in another step. I explore celery , but It might be to complex , because I have to use class based task an have some difficulties with the serializer's in

Re: xadmin override base_site.html

2013-09-30 Thread Christian Schulz
Ahh got it , different versions in my installation. Christian Am Montag, 30. September 2013 16:54:43 UTC+2 schrieb Christian Schulz: > > Hi, > > has someboday a clue why I get this error. > Without the modifications xadmin works fine, but if I copy for > modifications

xadmin override base_site.html

2013-09-30 Thread Christian Schulz
Hi, has someboday a clue why I get this error. Without the modifications xadmin works fine, but if I copy for modifications in my ../templates/xadmin/base_site.html I got the error below. If I cut this *if step* the template is loaded but without surprise in fragile form. Has anybody an

simple authentication for views

2013-09-22 Thread Christian Schulz
Hi, isn't it possible to use the the @login_required decorator with the admin login/logout backend? Thanks Christian -- 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

url path becomes longer and longer

2013-09-13 Thread Christian Schulz
Hi, i'm wondering why after every click the url become longer. In the project urls.py I have something like: url(r'^reporting/', include('reporting.urls')), In the app urls.py something like: url(r'total', views.total,name='total'), In the app reporting views I use render: return

Re: database -> model -> charting

2013-06-10 Thread Christian Schulz
seems to expect a decimal value regardless, so maybe decimal values are hardwired into the code On Monday, June 10, 2013 10:55:00 AM UTC, Christian Schulz wrote: It could be a problem with the simpleson.dumps options in django 1.5 vs. the included simplejson. I re

Re: database -> model -> charting

2013-06-10 Thread Christian Schulz
2013 08:28:57 UTC, Christian Schulz wrote: I installed with python2.7/1.4.5 some weeks ago , but I didn't use a BigIntegerField. What is your error message? > After trying this I find a problem with the types it can use. For > example it does not seem to like BigIntegerField

Re: database -> model -> charting

2013-06-10 Thread Christian Schulz
it, maybe I am letting chartit do too much for me but I do like the idea of something doing the hard thinking for me :). I am using python 2.7 and django 1.5, are you using the same ? On Friday, 7 June 2013 11:33:07 UTC+1, Christian Schulz wrote: When you have some experience with JS

Re: database -> model -> charting

2013-06-07 Thread Christian Schulz
When you have some experience with JS/Highcharts django-chartit might be interesting. Easy is relativ but I got it and I'm really not a django/JS pro. It's nice work, but dev progress seems fallen asleep. http://chartit.shutupandship.com/ I would like to hear peoples opinions on third

Re: different admin form if adding a record

2013-06-03 Thread Christian Schulz
the admin then? > > Regards, Wim > > On Monday, 3 June 2013 10:13:07 UTC+2, Christian Schulz wrote: >> >> Hi , >> >> I'm a newbie in django and wondering what is the most easy way to change >> the "behavoir" if I add a record for a model. >&

different admin form if adding a record

2013-06-03 Thread Christian Schulz
Hi , I'm a newbie in django and wondering what is the most easy way to change the "behavoir" if I add a record for a model. class AttributeMapping(models.Model): #In the standard admin view I like a CharField to see filled entries field = models.CharField(max_length=100) #In the add