[mezzanine-users] Models are not working

2014-04-02 Thread Tameen Malik
I have created Models like *models.py file:* from django.db import models from mezzanine.pages.models import Page class Author(Page): dob = models.DateField(Date of birth) I am using Wamp to save database/tables. My database name is abcdef * tables have created in my

[mezzanine-users] What to do next?

2014-04-01 Thread Tameen Malik
*processor_for.py* from django import forms from django.http import HttpResponseRedirect from mezzanine.pages.page_processors import processor_for from .models import Book class BookForm(forms.Form): name = forms.CharField() email = forms.EmailField() @processor_for(Author) def

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-04-01 Thread Tameen Malik
thank's ! hmm can you answer my second question, i posted today with title `what to do next`! -- 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

Re: [mezzanine-users] Page Processors with Slug

2014-04-01 Thread Tameen Malik
page_processor.py defining restaurant function. How to define url to access this function can you please write this line of code? -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

[mezzanine-users] Page Processors are not working!

2014-04-01 Thread Tameen Malik
processors.py file: from django import forms from django.http import HttpResponseRedirect from mezzanine.pages.page_processors import processor_for from .models import Author class AuthorForm(forms.Form): name = forms.CharField() email = forms.EmailField() @processor_for(Author) def

[mezzanine-users] Re: Issues with page processors in Mezzanine

2014-04-01 Thread Tameen Malik
Excellent Explanation of page processor. I was lokking for such explanation from last 2 days. Good job @Eduardo -- I am trying to achieve this goal too. can you please help me to solve similar problem https://groups.google.com/forum/#!topic/mezzanine-users/D9Gjp_jOQNM%5B1-25-false%5D

Re: [mezzanine-users] Re: Page Processors are not working!

2014-04-01 Thread Tameen Malik
Yes author is model @Josh Thank's Allah, i solve this problem. What i did is i decided to start from simple model and simple example. *models.py file:* from django.db import models from mezzanine.pages.models import Page class Author(Page): dob = models.DateField(Date of

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Hi Kenneth Bolton Thank's for quick response. Few more questions: In the admin interface for the page, look for the fields Show in menus. -*- using admin interface if i create page i don't find this in templates folder and if i create html page and store this in templates/pages folder,

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Great reply. Thank's Kenneth Bolton Can i ask you more question's if i face any problems further :) Regards Tameen -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Great reply. Thank's Kenneth Bolton Can i ask you more question's if i face any problems further :) Regards Tameen -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
yes i studied first 5 chapters of djangobook.com this week. hmm i don't know i just stuck here in mezzanine. Sir can't you give me small example (if you can). Mezzanine documentation is not detailed or may be my mind can't work unless i go through 3,4 examples! :( -- You received this

[mezzanine-users] Re: Where to define Proccessor_for.py

2014-03-31 Thread Tameen Malik
and how to define this in template to make this accessible? -- 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 mezzanine-users+unsubscr...@googlegroups.com. For