Comments in several places inline below:
> Thanks for the response... I opened the *rendered* source page in Mozilla
> and couldn't find the csrf_token even though I had already added the { %
> csrf_token %} . Something seems wrong. Any suggestions moving forward ?
>
>
You should be seeing a hid
>
> but:
>
> i'm testing 4 macs: Class A: 1mac , Class B: 2mac, Class C: 1mac
>
> when i define:
>
> class MacAdmin(admin.ModelAdmin):
> def get_queryset(self, request):
> qs = super(MACAdmin, self).get_queryset(request)
> if req
On Sep 11, 2015 3:25 PM, "TheBeardedTemplar"
wrote:
> Hey all,
>
> I have a model with some fairly strict rules on what is or isn't allowed
> and I'd like to perform some validation. The model is created via various
> forms, other functions, and via api calls and so validating the data before
> t
On Fri, Sep 11, 2015 at 10:37 AM, John Emmatty
wrote:
> I ran makemigrations against my legacy, MySQL database and it created
> models.py file for me, I copied the file to my applications package
> directory and ran makemigrations again after adding a table to extend the
> default users table. No
>
> Not sure if I'm following you 100%, but i think you can filter like this:
>
> return qs.filter(classi__prof=request.user)
>
> This would match the MAC to a class, and the class to a professor, and the
> professor to request.user. Should return all of the MAC's that belong to a
> class that requ
thanxs so much... that works perfect.!
2015-09-13 11:19 GMT+02:00 James Schneider :
> Not sure if I'm following you 100%, but i think you can filter like this:
>>
>> return qs.filter(classi__prof=request.user)
>>
>> This would match the MAC to a class, and the class to a professor, and
>> the pro
For me better way is on server side use django with API output, which the
client will be the frontend, can be using only html+ javascript.
On javascript i tried angularjs. There will be many options for the js frontend.
Choose the most support available in the community and which one more effici
Hi,
I have TextField in model.
story = models.TextField()
When it shows up in form label is aligned down beside big Textarea.
Label should align top beside Textarea in order to get user see it first.
How to implement it so?
Thanks for help
- be ginner
--
You received this message because you a
8 matches
Mail list logo