Looking for the right way to specialize the User model

2013-07-31 Thread Paul Whipp
I'm using Django 1.5 and I needed an api to control the addition of users and the management of users on those groups. Django's rest framework proved a good starting point but I hit issues with the ManyToMany relation groups which means that there is no model for the user_group which in turn

Inconsistent Django test results depending upon how the test is called in Django 1.5.1 running on Python 2.7.4

2013-12-01 Thread Paul Whipp
I have test cases that pass when tested individually, pass when the full app is tested but fail when the tests for the entire project are run: (lsapi)~ $ django test Creating test database for alias 'default'... ...

Re: python virtual environment

2013-12-01 Thread Paul Whipp
Looks like you already have an active virtual environment but those instructions only install a few default things (like Django) into that environment. Therefore it sounds like your new virtual environment does not have all of the required python modules installed in it. There should be a requ

Re: Inconsistent Django test results depending upon how the test is called in Django 1.5.1 running on Python 2.7.4

2013-12-02 Thread Paul Whipp
ke I am going in the right direction? Thanks again for your help. Cheers, Paul On 2 December 2013 11:10, Russell Keith-Magee wrote: > > > On Mon, Dec 2, 2013 at 8:24 AM, Paul Whipp wrote: > >> I have test cases that pass when tested individually, pass when the full >>

Re: Django Channels - core.py error

2018-11-06 Thread Paul Whipp
I've just had trouble with exactly the same error. In my case I was building from the tutorial ChatConsumer with my own XChatConsumer and I hadn't referenced it in the routing.py. As a result the tutorial async chat consumer was receiving a scope that did not contain a room_name in its url_rout