Is is possible to start an event at all connected users with signals?
If this is possible can someone show me an example of it.
Greetz
Gerd
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving email
You were missing a key. The following works on my machine.
K
---
import requests
login_url = "http://192.168.0.21/admin/login/";
client = requests.session()
client.get(login_url)
csrftoken = client.cookies['csrftoken']
login_data = {'username':'jim', 'password':'beam',
'this_is_the_login
My advice to you is to just ignore it all and focus on the tests in your
application.
For example, if your app that you wrote yourself is called "amazingapp"
then you test only that app thus.
---
$ python manage.py test amazingapp
---
And it will say something similar to this...
---
Creati
Ok, I've gotten further. I have confirmed the problem was related to the
csrf token. This is my new code:
client = requests.session()
# Retrieve the CSRF token first
client.get(URL) # sets the cookie
csrftoken = client.cookies['csrftoken']
login_data = dict(Username='jim', Password='beam, csrf
Ok, I've gotten further. I have confirmed the problem was related to the
csrf token. This is my new code:
client = requests.session()
# Retrieve the CSRF token first
client.get(URL) # sets the cookie
csrftoken = client.cookies['csrftoken']
login_data = dict(Username='jim', Password='beam, csrf
Well this is where I'm at. I have used the requests package to try and
request the Django Admin login page and submit the username and password.
However, when I do this I get a 403 error. I have tried to turn off the
dependency for csrf tokens in the login view by using the csrf_exempt,but
thi
Hi,
In my app I'm trying to generate friendly user-profile URL (first name +
last name) using the following module:
http://pydoc.net/Python/redsolutioncms.django-hex-storage/0.1.1/pinyin.urlify/
However, there is no full char mapping done when I run my test code
(notice: I changed the function
Hi,
I'm using the latest Apache server on production.
The DEBUG setting is the standard setting that exists within the
settings.py file.
I'll check what write permissions the production database user has.
Thanks
On Thursday, 31 January 2013 22:56:05 UTC, huw_at1 wrote:
>
> Hi,
>
> Using Djang
On Sun, Aug 18, 2013 at 2:51 AM, Harjot Mann wrote:
> Hello Everyone
> Currently I am using django version 1.4.5 and I want to upgrade it to
> 1.5.1, I have an app in django. I want to know that what problems will
> I face while upgrading to that version. I have no idea about the
> features of new
On Sun, Aug 18, 2013 at 12:21 PM, Harjot Mann wrote:
> Hello Everyone
> Currently I am using django version 1.4.5 and I want to upgrade it to
> 1.5.1, I have an app in django. I want to know that what problems will
> I face while upgrading to that version. I have no idea about the
> features of ne
On Sun, Aug 18, 2013 at 12:21 PM, Harjot Mann wrote:
> Hello Everyone
> Currently I am using django version 1.4.5 and I want to upgrade it to
> 1.5.1, I have an app in django. I want to know that what problems will
> I face while upgrading to that version. I have no idea about the
> features of ne
Based in London, *The Recipe Kit* is a tech startup with a set mission of
changing the way people currently eat and cook at home. We believe that all
traditional shopping and cooking models are quite outdated and create a lot
of unnecessary stress.
We are currently experiencing a growing
Also, you should be upgrading to 1.5.2 - there's a serious security update.
cheers
L.
On 18 August 2013 17:08, Mike Dewhirst wrote:
> On 18/08/2013 4:51pm, Harjot Mann wrote:
>>
>> Hello Everyone
>> Currently I am using django version 1.4.5 and I want to upgrade it to
>> 1.5.1, I have an app in
Suppose, A is the request.user. And 'msg' has all the mesasges sent by the
user A and all the messages that A has received. Now how will I separate
the messages for each user from 'msg', to make it like an Inbox for A. I
think I have made it clear now. If not, please ask again.
Thank you.
On Sun,
On Sun, Aug 18, 2013 at 4:59 AM, Kristofer wrote:
> Hello,
>
> I remember seeing this some time ago, but can't remember what it is called
> or where it is in the documentation.
>
>
contenttypes framework
https://docs.djangoproject.com/en/1.5/ref/contrib/contenttypes/
> I am looking for the fe
so what's the question?
On Sat, Aug 17, 2013 at 7:52 AM, Karl Arunachal <
kakararunachalserv...@gmail.com> wrote:
> Hello,
> I have a model for messaging between the users.
>
> models.py:
>
> class Message(models.Model):
> description = models.TextField()
> date_added = models.DateTimeFi
On 18/08/2013 4:51pm, Harjot Mann wrote:
Hello Everyone
Currently I am using django version 1.4.5 and I want to upgrade it to
1.5.1, I have an app in django. I want to know that what problems will
I face while upgrading to that version. I have no idea about the
features of new version. Any major
17 matches
Mail list logo