Hi there,
this question isn't bound to Django Web Framework as the major
limitation are cookies:
I have single instance Django site running on multiple domains. Each
domain simply filters specific categories. There's an eshop and I need
to share sessions among all domains so user can log in on one
interesting problem!
I googled for "Sharing session among multiple domains"
take a look here for example:
http://stackoverflow.com/questions/6080017/how-to-share-session-among-multiple-domains-on-single-asp-net-website
it looks like you can do it across subdomains, so one solution is to split
you
Hello everyone!
I am kinda new to python and Django as well so many things still confuse
me!I have my Django admin interface with a database on it!
The thing i want to do now is the following:
I want to be able to run a script from my Djano admin interface either by
pushing a "Start" button or c
I am build my application using Python 2.7 and Django 1.3.7.All it is
working perfectly and most of the part are over so we planed to move it to
live.While checking with DEBUG = False in settings.py made unhappy.
Problem i am facing is the css what ever i used is not applied in the
application.
Hello,
I'd like to use some MySQL function in a query from django, because the
YEARWEEK() & INTERVAL constructs of mysql are interesting to me for
efficiently aggregating entries per week. Is there any way to include it in
the Select of the django query... or do I have to resort to raw() call?
Hello,
I'd like to the use the MySQL function YEARWEEK (and INTERVAL) to aggregate
timed data, as it looks more efficient than a double date comparison
(start-date;end-date).
How would it best be done with django?
My current SQL query, that counts various types of mails exchanged over a
period
https://docs.djangoproject.com/en/1.5/howto/static-files/
On Tue, Jun 11, 2013 at 8:32 AM, wrote:
> I am build my application using Python 2.7 and Django 1.3.7.All it is
> working perfectly and most of the part are over so we planed to move it to
> live.While checking with DEBUG = False in setti
Hi Avraham,
I know that cookies can be shared among subdomains, but my customer wants to
have separate domains.
The iframe solution is already implemented. It simply opens
http:///sess/ url for each domain in hidden iframes.
The view only saves session_id to cookie "sessionid" (by default).
https:
JavaScript:
$('.delete_icon').click(function(){
var obj = $(this)
var csrf_token = "{{ csrf_token }}";
var email = $(this).attr('value');
var id = $(this).attr('id');
$.ajax({
data:{csrfmiddlewaretoken: csrf_token,id:id,cancel_email:email},
type:'POST',
Hi,
If you use db backend for sessions you could save the session in both
databases. Check this:
http://dustinfarris.com/2012/2/sharing-django-users-and-sessions-across-projects/
I hope this helps.
Best regards,
Marcin
On 14:22 Tue 11 Jun , Tomas Ehrlich wrote:
> Hi Avraham,
> I know that c
Hi Giorgos
What you need to do is pick the appropriate admin template to customize,
and add in your link (or link+button image) there. See:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-vs-replacing-an-admin-template
The web is littered with examples of how to do this...
Hi Marcin,
unfortunately it doesn't solve the problem. As it's said in document:
Just like the secret keys, the SESSION_COOKIE_DOMAIN setting from
OldWebsite.com and NewWebsite.com must match if you want
to share sessions.
... but that's possible only when you share sessions in subdomains (eg.
I wonder if you could use an iframe to create the illusion that these sites
are served from separate domains?
On Tue, Jun 11, 2013 at 10:32 AM, Tomas Ehrlich wrote:
> Hi Marcin,
> unfortunately it doesn't solve the problem. As it's said in document:
>
> Just like the secret keys, the SESSION_COO
Hello everyone.
My question is this:
I am currently doing a small system, synchronize just a few changes in my
models.py, and try to access the browser, and I do not charge it, try again
with
the command: python manage.py syncdb and I get this error:
/
usr/local/lib/python2.7/site-packages/d
This doesn't mean that things won't work. Just that if you are installing
new stuff, say, using the next version of django, it may not work there.
On Tue, Jun 11, 2013 at 5:09 PM, wrote:
> Hello everyone.
>
> My question is this:
>
> I am currently doing a small system, synchronize just a few
Hi, Snake
The databrowse contrib app has been deprecated since 1.4, but it's still
available as an external library[0].
Please read the release notes for that version to know more about that. [1]
Cheers,
AT
[0] https://pypi.python.org/pypi/django-databrowse
[1]
https://docs.djangoproject.com/
Actually that totally didn't work - I don't know what I was thinking. The
form_valid method doesn't work for saving the model.
I have it working now but I guess the question I had is if using dispatch
for setting variables in general is a good idea.
On Monday, June 10, 2013 3:38:09 PM UTC-7, Ja
thank you for review :) but i several days learn Ella
https://ella.readthedocs.org/en/latest/features.html
and i like it :)
but i have some troubles. such as -
https://ella.readthedocs.org/en/latest/common_gotchas.html#creating-site-navigation
where should i paste those code? where must be plac
About the efficiency part of your comment -the payload generated from
something like django rest framework still requires the normal database
tuning your normal html based django app would. You would get the added
benefit of not making a full trip back to the server between requests
(assuming y
Hi everyone! I'm currently a noob learning Django and Python for the first
time and I have almost no web-development experience so apologies if this
comes across as a stupid question.
I'm trying to get "Hello World" to work and am receiving an import error. I
get the following traceback:
Trac
Hi,
On Jun 12, 2013 6:53 AM, wrote:
>
> Hi everyone! I'm currently a noob learning Django and Python for the
first time and I have almost no web-development experience so apologies if
this comes across as a stupid question.
>
> I'm trying to get "Hello World" to work and am receiving an import err
Thanks very much, that worked!
Alok
On Tuesday, June 11, 2013 9:30:26 PM UTC-4, Rahul Gaur wrote:
>
> Hi,
> On Jun 12, 2013 6:53 AM, > wrote:
> >
> > Hi everyone! I'm currently a noob learning Django and Python for the
> first time and I have almost no web-development experience so apologies if
Hi,
You are not really on the good for this. Maybe can you ask on a JQuery
forum.
I don't see when you change the style="display:none1" of your
#overlay_form. Your popup is never displayed
2013/6/12
> JavaScript:
>
> $('.delete_icon').click(function(){
> var obj = $(this)
> var csrf
23 matches
Mail list logo