On 4/05/2015 12:31 PM, Tom Lockhart wrote:
Surely that would destroy data which wouldn’t be desirable.
I’m not sure how that follows.
If you are adjusting a date from whatever it actually is to the first of
the month you lose the actual date.
Although the question does not state
it exp
The line that's failing is not for the User model, but for the BeeradUser
model.
Assuming this is your same model
http://stackoverflow.com/questions/29913814/creating-new-account-with-or-without-modelforms-and-designing-with-html-css
Then I guess you have a "is_active" field in the BeeradUser mo
I posted the same question on stackoverflow if anyone wants to answer it
there.
I am trying to create a builtin User object that has `is_active = False`
but I am getting this error:
null value in column "is_active" violates not-null constraint
Traceback:
File "/Library/Python/2.7/site-
On May 3, 2015, at 7:17 PM, Mike Dewhirst wrote:
> On 4/05/2015 11:41 AM, Tom Lockhart wrote:
>> On May 3, 2015, at 2:35 PM, Matthys wrote:
>>
>>> I posted the question also on stackoverflow:
>>>
>>> http://stackoverflow.com/questions/30017229/how-to-represent-month-as-field-on-django-model
>>
On 4/05/2015 11:41 AM, Tom Lockhart wrote:
On May 3, 2015, at 2:35 PM, Matthys wrote:
I posted the question also on stackoverflow:
http://stackoverflow.com/questions/30017229/how-to-represent-month-as-field-on-django-model
The question is for situations where a model instance relates to a sp
On May 3, 2015, at 2:35 PM, Matthys wrote:
> I posted the question also on stackoverflow:
>
> http://stackoverflow.com/questions/30017229/how-to-represent-month-as-field-on-django-model
>
> The question is for situations where a model instance relates to a specific
> month, but not to a specif
Hi Suriya,
It sounds like you're looking for raw SQL queries:
https://docs.djangoproject.com/en/1.8/topics/db/sql/#performing-raw-queries
This allows you to issue a SQL query in SQL, rather than trying to bend the
ORM to meet some complex query requirement.
You can't compose a raw query like a
On 4/05/2015 6:08 AM, João Marques wrote:
Now what happens when I run the server in "debug = False" is an error
500. Without the "debug = False" I get this:'Empty static prefix not
permitted'.
Googling that error brings up a few results. It seems to indicate a
problem with STATIC_ROOT and STAT
user_passes_test is for decorating functions, not classes
Django Rest Framework has its own system for permissions (and you seem to
be already using it)
http://www.django-rest-framework.org/api-guide/permissions/
Use that instead I think
On Sun, May 3, 2015 at 2:35 PM, Shekar Tippur wrote:
>
I posted the question also on stackoverflow:
http://stackoverflow.com/questions/30017229/how-to-represent-month-as-field-on-django-model
The question is for situations where a model instance relates to a specific
month, but not to a specific day.
--
You received this message because you are su
Hey man!!
In my setup, I use this: Gunicorn + nginx + supervisor
Please, share your confs files.. without them we can't help a lot!
T.·.F.·.A.·. S+F
*Fellipe Henrique P. Soares*
e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
*Blog: http://fhbash.wordpress.com/
You have the wrong mailing list. This is the Django Users mailing list.
SUDS documentation is here:
https://fedorahosted.org/suds/wiki/Documentation. It seems to have
nothing to do with Django. There appears to be a SUDS mailing list
mentioned here: https://fedorahosted.org/suds/. Maybe they would
Hey there guys, I'm starting to lose my hope in deploying my django project
to a vps. Here is what I've done so far (notice that i'm a newbie and this
is the first time): I've created my virtualenv and installed pip, django,
mysqldb package and nginx (i think). I followed this tutorial:
https:/
Hi All,
If i have an wsdl with this parameters and i want to use suds how it will
be?
*Note:* Before you call this case, you need create the object BaseReq*.*
*Input parameters:*
· BaseReq: req
Required param object:
a) clientID
b) terminalID
c) authCred
*I usually c
Hello,
Here is a decorator that I am trying ot use to restrict access to the class
to only super users: Can someone please point me to what could be wrong. If
I take the decorator, I am able to get thro but it is not restricted to
only super users.
@user_passes_test(lambda u: u.is_superuser)
c
hi, did you solved the problem?
On Wednesday, April 16, 2014 at 7:59:10 AM UTC+2, Andreas Bloch wrote:
>
> I'm trying to add a nested admin interface using
> https://github.com/s-block/django-nested-inline *but the 2nd level is not
> showing up in the admin*...
>
> I have a foreign key relations
16 matches
Mail list logo