Re: Looking for direction on some admin console customization.

2014-03-11 Thread Dennis Marwood





Derik, thanks for the reply. I reread my post; you are right, it is not 
very clear. I attached some images to this post that, I believe, will help 
to clarify.

I want to be able to add either an image_widgets or a text_widgets to a 
blog post in any order. I could code up something like the "Display Order" 
and that would work but I was hoping for something better.

Really, I am wondering if people would do this all w/ js or if there is a 
better way that relies on better model set up / interaction and using / 
extending some existing admin feature (like the "Add another" link).

Thanks

On Monday, 10 March 2014 23:43:33 UTC-7, Derek wrote:
>
> Dennis
>
> Your use case is not very clear; but it sounds more like you need a CMS, 
> even a simple one.  There you can design templates that will hold all your 
> page content in a layout of your choice.  There are many Django-based CMS 
> e.g. https://pythonhosted.org/django-page-cms/
>
> Derek
>
> (PS  Your terminology is a bit mixed up here- when you say "add a text 
> model, a video model", I think you mean "add a text object, a video 
> object".  The models are the containers; the objects are the - crudely 
> speaking - the data that makes those containers "exist")
>
>
> On Monday, 10 March 2014 04:09:05 UTC+2, Dennis Marwood wrote:
>>
>> My goal is to be able to build a new blog entry via the admin console 
>> that is comprised of text, image slider, and video models. 
>>
>> I would choose to create a new blog entry and then add a text model, a 
>> video model, and another text model, or something like that. Each blog 
>> entry could be unique in the models that it is made up of.
>>
>> I have messed around with adding the models via inlines. But that is just 
>> not quite enough. Each of the entries ends up in its own fieldset in an 
>> unintuitive disorganized display. 
>>
>> What are some approaches to implementing this? It would be great if I 
>> could have a drop down or something that let me add a model entry, of my 
>> choosing, and it was just pushed into the blog entry.
>>
>> Thanks in advance.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a0b3183a-c962-4cab-a742-24ee71405d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for direction on some admin console customization.

2014-03-10 Thread Derek
Dennis

Your use case is not very clear; but it sounds more like you need a CMS, 
even a simple one.  There you can design templates that will hold all your 
page content in a layout of your choice.  There are many Django-based CMS 
e.g. https://pythonhosted.org/django-page-cms/

Derek

(PS  Your terminology is a bit mixed up here- when you say "add a text 
model, a video model", I think you mean "add a text object, a video 
object".  The models are the containers; the objects are the - crudely 
speaking - the data that makes those containers "exist")


On Monday, 10 March 2014 04:09:05 UTC+2, Dennis Marwood wrote:
>
> My goal is to be able to build a new blog entry via the admin console that 
> is comprised of text, image slider, and video models. 
>
> I would choose to create a new blog entry and then add a text model, a 
> video model, and another text model, or something like that. Each blog 
> entry could be unique in the models that it is made up of.
>
> I have messed around with adding the models via inlines. But that is just 
> not quite enough. Each of the entries ends up in its own fieldset in an 
> unintuitive disorganized display. 
>
> What are some approaches to implementing this? It would be great if I 
> could have a drop down or something that let me add a model entry, of my 
> choosing, and it was just pushed into the blog entry.
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8515ef98-b720-4cc2-a052-8a0a18f84691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Looking for direction on some admin console customization.

2014-03-09 Thread Dennis Marwood
My goal is to be able to build a new blog entry via the admin console that 
is comprised of text, image slider, and video models. 

I would choose to create a new blog entry and then add a text model, a 
video model, and another text model, or something like that. Each blog 
entry could be unique in the models that it is made up of.

I have messed around with adding the models via inlines. But that is just 
not quite enough. Each of the entries ends up in its own fieldset in an 
unintuitive disorganized display. 

What are some approaches to implementing this? It would be great if I could 
have a drop down or something that let me add a model entry, of my 
choosing, and it was just pushed into the blog entry.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/009c14be-04d8-417b-b8f0-bd0e9ae4fb28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.