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
; On 05/06/2014 10:39 pm, "Juergen Schackmann" > 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
>>
>> Am Donnerstag, 5. Juni 2014 11
- 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 >:
*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, req
*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, req
return response
If I hit the refresh button 10 times,
8 times I will get this
header: 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 an
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
bel
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 it
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
hav
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 this
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
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
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
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 email
>
>
>
>> 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 f
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 n
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
lo
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 visit
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
http
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 dynamical
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 gr
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
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 er
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 users"
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
"Djang
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 you
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
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 Groups
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 behaviou
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&printsec=frontcover&dq=django+pro&hl=de&ei=TdA-TdSyH4GA4Aat1fGwCg&sa=X&oi=book_result&ct=book-thumbnail&resnum=1&ved=0CCwQ6w
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 because
31 matches
Mail list logo