Re: urls.py usage

2011-03-02 Thread Vladimir
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,

Re: urls.py usage

2011-03-01 Thread Daniel Roseman
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

Re: urls.py usage

2011-02-28 Thread Vladimir
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

Re: urls.py usage

2011-02-28 Thread Daniel Roseman
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

Re: urls.py usage

2011-02-28 Thread Vladimir
>   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

Re: urls.py usage

2011-02-28 Thread Jirka Vejrazka
> 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

Re: urls.py usage

2011-02-28 Thread Vladimir
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

urls.py usage

2011-02-27 Thread Vladimir
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