[mezzanine-users] Pagination in Gallery page

2017-08-15 Thread sg . oleksandr . p
Hello,
please, explain me, how i can implement it?

-- 
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 more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] How include a form in index.html?

2017-07-12 Thread sg . oleksandr . p
Ok, thank you)

среда, 12 июля 2017 г., 16:38:14 UTC+3 пользователь Kenneth Bolton написал:
>
>
>
> On Wed, Jul 12, 2017 at 9:28 AM,  
> wrote:
>
>> Well, in general i haven't a lot of practice in Django. I'm on the way)
>>
>
> Awesome!
>
> Your question is answered by developing a basic understanding of Django, 
> so get back to us once you have completed the Django tutorial.
>
> If you absolutely need to get this today, you may be able to get away with 
> just understanding the relationship between views and urls. What you want 
> is a view that includes the form in its context and a url pattern that 
> invokes that view.
>
> That said, the shortest route to getting there will be to understand the 
> fundamentals of Django. I spent the first several years of my Django career 
> with only the most superficial understanding and it held me back quite a 
> bit. I have said it before: Mezzanine is just a Django application. To be 
> frank, it is a fairly simple and straightforward Django application. 
> Getting through the official Django tutorial will put you in a good place 
> to get what you need out of Mezzanine.
>
> -ken
>

-- 
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 more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] How include a form in index.html?

2017-07-12 Thread sg . oleksandr . p
Well, in general i haven't a lot of practice in Django. I'm on the way)

среда, 12 июля 2017 г., 16:08:52 UTC+3 пользователь Kenneth Bolton написал:
>
> Please answer my previous questions and I may be able to answer yours. -ken
>
> On Wed, Jul 12, 2017 at 8:29 AM,  
> wrote:
>
>> Thanks, Ken. Look, in my urls.py I have such routes:
>>
>> url("^$", direct_to_template, {"template": "index.html"}, name="home"), 
>> # main page 
>>
>>  url("^contact$", mezzanine.pages.views.page, {"slug": "/contact"}, name=
>> "contact"),  # contact form
>>
>>
>> I want to include the same contact form also in my index.html. I've tried 
>> to use context_processor, but I got just caption of the form, but not the 
>> form fields.
>>
>> вторник, 11 июля 2017 г., 21:36:53 UTC+3 пользователь Kenneth Bolton 
>> написал:
>>>
>>>
>>> On Tue, Jul 11, 2017 at 1:48 PM,  wrote:
>>>
 Hello,

>>>
>>> Hi
>>>  
>>>
 sorry, i'm new in Mezzanine.

>>>
>>> No need to apologize. Where do you stand with Django & Python? 
>>> Proficiency in both will improve your ability to work with Mezzanine.
>>>
>>> I've made a form with dedicated route. But I wish to have the form also 
 on the main page (index.html).

>>>
>>> The `urls.py` has all the info you need to get you going with that: 
>>> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/project_name/urls.py#L31
>>>  
>>>
 hth,
>>> ken
>>>
>> -- 
>> 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-use...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] How include a form in index.html?

2017-07-12 Thread sg . oleksandr . p
Thanks, Ken. Look, in my urls.py I have such routes:

url("^$", direct_to_template, {"template": "index.html"}, name="home"), # 
main page 

 url("^contact$", mezzanine.pages.views.page, {"slug": "/contact"}, name=
"contact"),  # contact form


I want to include the same contact form also in my index.html. I've tried 
to use context_processor, but I got just caption of the form, but not the 
form fields.

вторник, 11 июля 2017 г., 21:36:53 UTC+3 пользователь Kenneth Bolton 
написал:
>
>
> On Tue, Jul 11, 2017 at 1:48 PM,  
> wrote:
>
>> Hello,
>>
>
> Hi
>  
>
>> sorry, i'm new in Mezzanine.
>>
>
> No need to apologize. Where do you stand with Django & Python? Proficiency 
> in both will improve your ability to work with Mezzanine.
>
> I've made a form with dedicated route. But I wish to have the form also on 
>> the main page (index.html).
>>
>
> The `urls.py` has all the info you need to get you going with that: 
> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/project_name/urls.py#L31
>  
>
>> hth,
> ken
>

-- 
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 more options, visit https://groups.google.com/d/optout.


[mezzanine-users] How include a form in index.html?

2017-07-11 Thread sg . oleksandr . p
Hello,
sorry, i'm new in Mezzanine. I've made a form with dedicated route. But I 
wish to have the form also on the main page (index.html).

-- 
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 more options, visit https://groups.google.com/d/optout.