Hola,
I'm using a standard view function to retrieve all details about an object:
header =[]
headers = object._meta.get_all_field_names()
row = []
for field in headers:
value = getattr(object, field)
row.append(value)
to collect info on a particular object passed to
I don't think you will get anyone to wade through your code and correct it
for you. You need to be much more specific in your question. What behavior
do you expect from your code, what is it doing that it shouldn't be doing,
what doe the error logs say, where is the specific problem in your code,
I got this Error when I hit the submit from
'ManagementForm data is missing or has been tampered with']
class Course(models.Model):
course = models.CharField(max_length=30)
course_name = models.CharField(max_length=30)
class Student(models.Model):
first_name =
I am really stuck in my code. I have this printing project I have created.
I wanted that in my student profile class, it will automatically update the
the total printout and the available printout after the user has inputted
the corresponding value in the prinout class. and also the report
Within my integration tests, it appears that after using the login() method
of django.test.client.Client the context dict consists only of:
[{'False': False, 'None': None, 'True': True}, {}, {}].
If I remove the use of login(), then the request dict consists of:
[{'False': False, 'None':
On Sun, Sep 22, 2013 at 10:51 PM, Deepak Sharma wrote:
> In your urls your are passing three arguments but django 1.5.x accept
> only one, so delete extra arguments.
Solved, thnks.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy:
Instead of buying the book I finally found a solution. I posted to the
original stackoverflow question:
http://stackoverflow.com/questions/18927935/what-is-the-order-of-execution-in-django-tests
On Saturday, September 21, 2013 7:47:58 PM UTC-4, Alex Thomas wrote:
>
> My basic problem is that
On Sun, Sep 22, 2013 at 10:46 PM, Harjot Mann wrote:
> While upgrading my django version I am getting this error.
>
> http://202.164.53.122/~harjotmann/error.png
In your urls your are passing three arguments but django 1.5.x accept
only one, so delete extra arguments.
While upgrading my django version I am getting this error.
http://202.164.53.122/~harjotmann/error.png
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are subscribed to the Google
Thank you!
On Sunday, September 22, 2013 12:33:29 PM UTC-4, Masklinn wrote:
>
>
> On 2013-09-22, at 18:12 , Euirim Choi wrote:
>
> > Hello everyone,
> > This might be a newbie question but I'm not sure why this code displays:
> It
> > is now Sept. 22, 2013, 11:29 a.m..
> >
> > from
On 2013-09-22, at 18:12 , Euirim Choi wrote:
> Hello everyone,
> This might be a newbie question but I'm not sure why this code displays: It
> is now Sept. 22, 2013, 11:29 a.m..
>
> from django.http import HttpResponse
> from django.template import Context
> from django.template.loader
Hello everyone,
This might be a newbie question but I'm not sure why this code displays: It
is now Sept. 22, 2013, 11:29 a.m..
from django.http import HttpResponse
from django.template import Context
from django.template.loader import get_template
import datetime
def hello(request):
return
I'm sorry but i started to send this message at 12.09 ...and at 14.00
google groups still does not show me neither on mail or web-interface.
so i resend...
Sorry again, next time i'll wait 24 hours, to see if a post is sent...
On 09/22/2013 04:27 PM, Avraham Serour wrote:
really? how many
really? how many times do you need to send and resend and cross post?
On Sun, Sep 22, 2013 at 1:23 PM, wrote:
> Everyday i receive 5-10 mysterious error messages of this kind
>
> ... ERRORS.
>
> File
>
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File
"../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File
"../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File
"../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File
"../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
,
Hi,
El 21/09/2013, a las 13:36, Derek escribió:
> Rafael
>
> I appreciate your reply; below I try and explain further the reasoning behind
> the approach I took. If you can respond to that, it would help.
>
>
> Firstly, the issue of test file locations - there are
Hi,
isn't it possible to use the the @login_required decorator with the admin
login/logout backend?
Thanks
Christian
--
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
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File
"../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
,
Sorry...I wanted open a new discussion but i reply instead...
--
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.com.
To post
Everyday i receive 5-10 mysterious error messages of this kind
... ERRORS.
File "../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py",
line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
,
23 matches
Mail list logo