Correct, you shouldn't declare class QuestionAdmin(...) twice. What problem 
do you see if you combine those classes? It's unlikely related to your 
Python version.

On Tuesday, January 24, 2017 at 10:45:50 AM UTC-5, John Wall wrote:
>
> I'm guessing you mean that I have to class calls for QuestionAdmin? I was 
> not able to get the code from the tutorial to work any other way. Might it 
> be some issue with my version of Python?
>
> On Tuesday, January 24, 2017 at 6:18:40 AM UTC-5, Melvyn Sopacua wrote:
>>
>> On Monday 23 January 2017 08:22:28 John Wall wrote:
>>
>>  
>>
>> > 
>>
>> > class QuestionAdmin(admin.ModelAdmin):
>>
>> > fieldsets = [
>>
>>  
>>
>> and whoops:
>>
>> > class QuestionAdmin(admin.ModelAdmin):
>>
>>  
>>
>> You have 2, sir.
>>
>> -- 
>>
>> Melvyn Sopacua
>>
>

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f2008e41-ed58-4a75-819c-8344daba31ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to