On Friday, March 7, 2014 12:11:59 AM UTC+2, Justin Michalicek wrote:
>
> It appears that due to test cases running in an atomic block, testing
> methods which use transaction.set_autocommit() all fail. I've got a small
> handful of test cases around methods which need to use manual transaction
Hello all,
I've pretty quikly found out in my DJango adventure that I need to have
some kind of versioning for my static css and javascript files. After
talking to some web developers I was directed to use Django's
CachedStaticFilesStorage app to append an md5 hash to the static files
path. No
I found the answer to my issue, posting it here in case others have the
same issue.
The problem was caused by an old version of inline.js being loaded. I ran
collectstatic at some point and a version of the script from 1.3 was saved.
On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood wro
Hello
I have a CSV file that i wish to manipulate based on user inputs and show
this on a Djnago project
I dont necessarily wish to save the data in the model
Can anyone point me to a direction on how to do this
I have tried creating a normal app like below but it says listmethod not
found
On Thu, Mar 6, 2014 at 7:29 PM, Tom Browder wrote:
> On Thu, Mar 6, 2014 at 5:24 PM, Tom Browder wrote:
>> I am working on my first Django project and would like to get comments
>> on a reasonable layout for a single Django instance used with several
> ...
>
> In the attached file there were a co
On Thu, Mar 6, 2014 at 5:24 PM, Tom Browder wrote:
> I am working on my first Django project and would like to get comments
> on a reasonable layout for a single Django instance used with several
...
In the attached file there were a couple of mistakes. In the macro
definition directive the file
I am working on my first Django project and would like to get comments
on a reasonable layout for a single Django instance used with several
Django projects where:
1. each project is a single web site on a unique virtual host (vhost)
2. all virtual hosts are on a single, real server running Debian
Thank you :)
On Friday, March 7, 2014 12:13:26 AM UTC+8, Felipe Coelho wrote:
>
> 2014-03-06 11:45 GMT-03:00 Jack Yan >:
>
>> in the tutorial and section "Authenticating Users":
>> https://docs.djangoproject.com/en/1.6/topics/auth/default/
>>
>> where can I put code:
>>
>> from django.contrib.auth
It appears that due to test cases running in an atomic block, testing
methods which use transaction.set_autocommit() all fail. I've got a small
handful of test cases around methods which need to use manual transaction
management and they are definitely working when I actually use the site,
but
On Thursday, 6 March 2014 18:33:36 UTC, Robin Lery wrote:
>
> I am having a hard time to understand ContentType. I am learning from a
> tutorial, this is the link . I have synced the database, and its working in
> the admin. But when I try to load the ContentType objects in the template,
> I get
I am having a hard time to understand ContentType. I am learning from a
tutorial, this is the link . I have synced the database, and its working in
the admin. But when I try to load the ContentType objects in the template,
I get nothing. When I see the page source, the get_rendered_method is not
lo
2014-03-06 11:45 GMT-03:00 Jack Yan :
> in the tutorial and section "Authenticating Users":
> https://docs.djangoproject.com/en/1.6/topics/auth/default/
>
> where can I put code:
>
> from django.contrib.auth import authenticateuser =
> authenticate(username='john', password='secret')if user is no
This should be in your views.py.
On Thu, Mar 6, 2014 at 8:15 PM, Jack Yan wrote:
> in the tutorial and section "Authenticating Users":
> https://docs.djangoproject.com/en/1.6/topics/auth/default/
>
> where can I put code:
>
> from django.contrib.auth import authenticateuser =
> authenticate(us
Hello, currently I have some Django sites one of them
is http://www.schnooge-hansili.de/ if i open it
with http://www.schnooge-hansili.de/?None It looks really ugly. Currently
the first site is just a simple CBV view. Nothing really special.
--
You received this message because you are subscri
in the tutorial and section "Authenticating Users":
https://docs.djangoproject.com/en/1.6/topics/auth/default/
where can I put code:
from django.contrib.auth import authenticateuser =
authenticate(username='john', password='secret')if user is not None:
# the password verified for the user
Hi David,
Instead of specifying ''django_bookmarks.bookmarks'' in 'INSTALLED_APPS' i
would suggest you to use your app name which you have created e.g someting
like as below:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.co
Let say for example i am going to create new app say bookmarks then i will
do something like *"python manage.py startapp bookmarks" *likewise whatever
name you have passed in place of *bookmarks.* Just place it inside
INSTALLED_APPS.
On Thu, Mar 6, 2014 at 1:06 PM, Robin Lery wrote:
> What the
Thanks Havier,
Proxy models also look like something that fit my needs.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.c
18 matches
Mail list logo