Thank you very much!!! It works!
I followed "Python Web Development with Django. J.Forcier, P.Bissex,
W.Chun" (I used russian edition). They instruct readers to include
registration statement in model.py:
Chapter 2 (my reverse translation from russian into English): Open
file mysite/blog/models.py,
On Monday, February 28, 2011 7:29:17 PM UTC, Vladimir wrote:
>
> I only followed manuals! Please, Mr. Daniel, give me more details!
Well I don't know which manuals you followed. The online documentation
(http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#modeladmin-objects)
states this cle
I only followed manuals! Please, Mr. Daniel, give me more details!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+un
On Monday, February 28, 2011 4:26:57 PM UTC, Vladimir wrote:
>
>
> > That you have duplicate registration of one model in your admin.py
> > somewhere (I believe, I may be wrong).
> There is no admin.py file in this project.
>
Well, why not? That is the cause of your problem. Putting admin reg
> That you have duplicate registration of one model in your admin.py
> somewhere (I believe, I may be wrong).
There is no admin.py file in this project.
Model.py file contains:
from django.db import models
from django.contrib import admin
class BlogPost(models.Model):
title = models.CharFiel
> AlreadyRegistered at /blog/
> The model BlogPost is already registered
That you have duplicate registration of one model in your admin.py
somewhere (I believe, I may be wrong).
Cheers
Jirka
--
You received this message because you are subscribed to the Google Groups
"Django users" g
What does this message (it appears after web browser entering) means:
AlreadyRegistered at /blog/
The model BlogPost is already registered
?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goog
2. Studying example (CMS) in "Python Web Development with Django.
J.Forcier, P.Bissex, W.Chun" I have got an error:
https://docs.google.com/leaf?id=0B5W4njXO9ND_Mzg1M2U0ZGItYzZiMS00Y2Qx...
adding detailes. I study CMS project in Chapter 8 in that book.
Following authors I wrote:
1) project level c
8 matches
Mail list logo