I have created a *model.py* file in which I define my classes like:

from django.db import modelsfrom mezzanine.pages.models import Page
class Author(Page):
    dob = models.DateField("Date of birth")
class Book(models.Model):
    author = models.ForeignKey("Author")
    cover = models.ImageField(upload_to="authors")

Then my HTML page and place it into templates folder define URL in *urls.py*
 file.

I run command python manage.py collecttemplates to get all templates

Now I browse 127.0.0.1/8000/page1/ to get my page view.

Question 1: How to place this page in menu of home page using admin 
interface?

Question 2: How to solve this error 'NoneType' object has no attribute 
'split' generates if I browse http://127.0.0.1:8000/admin/conf/setting/?

question3 : How to access POST DATA from forms created in mezzanine 
interface?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to