Re: "Dynamyc" modells

2012-03-15 Thread Juergen Schackmann
hi guys, django-dynamo https://bitbucket.org/schacki/django-dynamo will let users create models dynamically on the fly through the admin. maybe this helps. regards, juergen Am Dienstag, 13. März 2012 08:48:03 UTC+1 schrieb airween: > > hi, > > On Mon, Mar 12, 2012 at 09:51:43PM -0400, Dennis Lee

Aw: Re: can django be used in destop application?

2011-08-26 Thread Juergen Schackmann
if you still want to go down the "use django for desktop application" road, you might want to have a look at pyjamas to build your frontend: pyjs.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Pyjamas in Django

2011-11-07 Thread Juergen Schackmann
hi, i have played around with it, and it seemed ok for me. but actually never put anything into production, since my project did not move forward. regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2012-01-11 Thread Juergen Schackmann
if is use this code, as proposed by russ: def form_valid(self, form): self.object.user = ... (something meaningful.. e.g., self.request.user) return super(CreateCampaignView, self).form_valid(form) i get the error 'NoneType' object has no attribute 'user'. and actually, by

Re: A demo of django-inlinetrans and django-inplaceedit

2012-01-11 Thread Juergen Schackmann
Hi, this looks really great. I have 3 questions for which I would highly appreciate the answers: 1. What is the best way to include some form magic, i.e. sending the changes not directly to the model but to a form that does some verification and also return the form error messages? 2. If I do

Re: A demo of django-inlinetrans and django-inplaceedit

2012-01-12 Thread Juergen Schackmann
> > > >> 2. If I do not want to send field by field, but possibly a set of fields >> back to the to the server, like the row of a table. Would that be feasible? >> > > Now this is not implemented, and I think it is not trivial. But you can > try it > i am afraid my js skills are too limited

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2012-01-12 Thread Juergen Schackmann
can really no one help? i am really stuck here at the moment -- 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/-/RYLQqxJE7HYJ. To post to this group, send

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2012-01-12 Thread Juergen Schackmann
I am trying to do the same as described in previous example: I have a model with a foreign key field to User and in the view I want to populate the the field from request.user. And when doing it exactly the way as Russ proposed, I get the described error. -- You received this message because

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2012-01-13 Thread Juergen Schackmann
you made my day, working exactly like expected. :-) thanks a lot -- 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/-/RUSugDsY9K0J. To post to this group, send

How to programatically define Site in Admin

2011-05-06 Thread Juergen Schackmann
Hi all, I do have various models with ForeignKey(Site). These models should be managed through Admin. However, I would like to determine the current site based on the URL (which basically means it needs to be defined in the view based on the request object). However, he current default

Aw: Virtualized Django app image for dev replication?

2011-05-19 Thread Juergen Schackmann
Hi ydjango, from personal experience, Virtualbox is really easy to use and setup and quite lightweight. If you use e.g. this image http://www.turnkeylinux.org/django, you will be ready to go very fast. Regards, Juergen -- You received this message because you are subscribed to the Google

Aw: Different urlpatterns for different subdomains

2011-07-01 Thread Juergen Schackmann
maybe that helps: https://github.com/jezdez/django-hosts -- 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/-/dUDV20f2CsUJ. To post to this group, send email to

Aw: Re: Setting up EC2 for Django

2011-07-04 Thread Juergen Schackmann
maybe http://www.turnkeylinux.org/ and especially http://www.turnkeylinux.org/django will do the heavy lifting for you although I fully agree with the other replies, and I am not sure if you do yourself a favour using turnkeylinux just as a blackbox :-) -- You received this message because

Aw: Django: forms and custom templates

2011-07-15 Thread Juergen Schackmann
I am also not sure, what exactly you are looking for, but what about this: https://docs.djangoproject.com/en/1.3/topics/forms/#customizing-the-form-template so you will have complete control of your html code??? -- You received this message because you are subscribed to the Google Groups

Fieldsets in Admin Inline

2011-07-25 Thread Juergen Schackmann
Hi all, is there a way to define fieldsets in the Inline? If could not find anything in the docs, but to me the idea sounds quite reasonable; so I am wondering if I just dont find it?!?!?! Thanks Juergen -- You received this message because you are subscribed to the Google Groups "Django

Aw: Re: Fieldsets in Admin Inline

2011-07-26 Thread Juergen Schackmann
thanks a lot for googling this link (somehow google decided to hide it from me :-) ) it works for me! just one word warning with the link: the code as described does not work for me, since the parent Admin refers to field in its fieldsets attribute that refer to the child and this raises the

Aw: Re: any recipes for 'live' updating a site with model changes

2011-07-26 Thread Juergen Schackmann
I will publish a new app to maintain models dynamically at runtime on the weekend -- 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/-/eWnQvLa89CYJ. To post to

Aw: Re: Problem With Templatetags

2011-07-28 Thread Juergen Schackmann
have you added the application that holds your template tag to settings.py? -- 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/-/pgqWMXKi-UsJ. To post to this

ANN: django-dynamo

2011-08-04 Thread Juergen Schackmann
Hi all, I have been thinking about dynamic models in Django for a while now. And inspired by https://code.djangoproject.com/wiki/DynamicModels and Will Hardy's https://github.com/willhardy/dynamic-models, I have created Dynamo, to let users and admins create and maintain their models

Re: Versioned database content

2011-01-25 Thread Juergen Schackmann
why do you want to create the dual tables, instead of only having one table with a current tag that holds the old version and the current ones? and then handle access to those via different managers? have you also had a look at the available versioning apps? -- You received this message

Re: Versioned database content

2011-01-25 Thread Juergen Schackmann
see here http://djangopackages.com/grids/g/versioning/ ore there is also a interesting chapter on versioning on page 263 here: http://books.google.com/books?id=lJwOcsZq5g4C=frontcover=django+pro=de=TdA-TdSyH4GA4Aat1fGwCg=X=book_result=book-thumbnail=1=0CCwQ6wEwAA#v=onepage=false please share

django-loses-currently-logged-in-user

2014-06-03 Thread Juergen Schackmann
Hi all, I have a issue, with users not being able to log into my site anymore (after it worked fine for months). Please find details here: https://stackoverflow.com/questions/24015143/django-loses-currently-logged-in-user Any help is highly appreciated. Regards, Juergen -- You received

Django Login/Session Not Sticking

2014-06-04 Thread Juergen Schackmann
Hi all, this question refers to this previous question: https://groups.google.com/forum/#!topic/django-users/8IXEvfU72S4. However, it seems like the problem is slightly different, I decided to open a new question: After my site has been up and running for a while in production, I suddenly

Re: django-loses-currently-logged-in-user

2014-06-04 Thread Juergen Schackmann
I have opend another question for this issue: https://groups.google.com/forum/#!topic/django-users/MBcu77WFCMw Am Dienstag, 3. Juni 2014 14:28:52 UTC+2 schrieb Juergen Schackmann: > > Hi all, > > I have a issue, with users not being able to log into my site anymore > (after

Re: URLs: mymodel_id vs object_id vs pk ....

2014-06-04 Thread Juergen Schackmann
I am not aware of any best practices for wording here, though my general recommendaton would the wording should be identical to the attribute name of the model, e.d. 'id', 'slug' or whatever. I would not add the "mymodel" prefix as long as it becomes clear from the context to which model it

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
: igv0xshezhdxh50kks9x00r0l67mx0sk,None,---,None 2 times I will get this header: X-Meta-Requ:igv0xshezhdxh50kks9x00r0l67mx0sk,330619,django.contrib.auth.backends.ModelBackend,330619 It seems be be random and does not follow any logic. Am Mittwoch, 4. Juni 2014 13:55:38 UTC+2 schrieb Juergen Schackmann: > >

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
*PLEASE HELP: I am not sure if this is a bug or caused by my code. But this is a serious issue for my production site.* To get some more debug information, I have created this Middleware: from django.conf import settings class SessionDebugMiddleware(object): def process_response(self,

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
*PLEASE HELP: I am not sure if this is a bug or caused by my code. But this is a serious issue for my production site.* To get some more debug information, I have created this Middleware: from django.conf import settings class SessionDebugMiddleware(object): def process_response(self,

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
- all app servers are running the same code with same settings. - DNS load balancing was never used - just did a htop, no unexpected or old processes Am Donnerstag, 5. Juni 2014 11:37:30 UTC+2 schrieb Erik Cederstrand: > > Den 04/06/2014 kl. 13.55 skrev Juergen Schackmann <juergen.s...@

Re: Django Login/Session Not Sticking

2014-06-06 Thread Juergen Schackmann
; On 05/06/2014 10:39 pm, "Juergen Schackmann" <juergen.s...@gmail.com > > wrote: > >> - all app servers are running the same code with same settings. >> - DNS load balancing was never used >> - just did a htop, no unexpected or old processes >> >>

Re: Django Login/Session Not Sticking

2014-06-10 Thread Juergen Schackmann
I do have the same issue with django admin, and definitely no custom js there. any other ideas??? Am Freitag, 6. Juni 2014 13:50:31 UTC+2 schrieb Juergen Schackmann: > > none of my js is fiddling with sessions/cookies. but there are numerous > third party js packages included (for ads