[p2pu-dev] How are groups added to schools?

Jos Flores josmasflores at gmail.com
Sat Mar 3 10:40:49 UTC 2012


Thanks John, got around it by adding a (null=True) rule to the
conversion so output does not get squashed when finding a null.

cheers,
José

On 3 March 2012 10:32, John Britton <john at p2pu.org> wrote:
> They are manually added via the admin section of the site. You should
> probably return something like
>
> school:""
>
> when there is no school assigned to a group.
> --
> contact info:
> http://www.johndbritton.com
> @johndbritton - http://twitter.com/johndbritton
>
>
>
> On Fri, Mar 2, 2012 at 10:24 PM, Jos Flores <josmasflores at gmail.com> wrote:
>>
>> Hi guys, I'm wondering what the process is to add courses to a school?
>> is it done manually from the admin site?
>> groups do not belong to a school on creation so are they considered to
>> be 'generic P2PU' courses?
>>
>> The problem I'm having is that when I try to aggregate data for the
>> API and it finds nulls in the school field, it does not like it...
>> will find a way around it anyway!
>>
>> cheers,
>> José
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>


More information about the p2pu-dev mailing list