Django admin - store small pieces of data

2012-10-11 Thread Wojtek Rymaszewski
Hi,

It's my first post so at the beginning i would like to say Hello.

I am quite new to django.

I have one problem to solve.

My website has couple of places where i would like to put some content 
(static text) managed by admin panel.
I know that there is django flatpage or some project like django-chunk. 
Flatpage has only couple of fields and django-chunk has all in one place 
(key-value).

I would like to add to panel admin new position only with edit view where 
user can fill couple of text fields. After save data is storied in file (or 
in database).

Generally i would like to store small pieces of text like phone number, 
address, some tagline which are on several pages. And creating model with 
full CRUD is unnecessary.

How can i do this? Is it possible?

Thanks in advance.

Best regards,
Wojtek

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/otPXKDKh9uAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django admin - store small pieces of data

2012-10-11 Thread Matteo Suppo

>
> I would like to add to panel admin new position only with edit view where 
> user can fill couple of text fields


I don't understand what you're saying here, but for the rest it appears to 
me that maybe this could help you:

http://www.djangopackages.com/packages/p/django-flatblocks/


On Thursday, October 11, 2012 7:02:29 PM UTC+2, Wojtek Rymaszewski wrote:
>
> Hi,
>
> It's my first post so at the beginning i would like to say Hello.
>
> I am quite new to django.
>
> I have one problem to solve.
>
> My website has couple of places where i would like to put some content 
> (static text) managed by admin panel.
> I know that there is django flatpage or some project like django-chunk. 
> Flatpage has only couple of fields and django-chunk has all in one place 
> (key-value).
>
> I would like to add to panel admin new position only with edit view where 
> user can fill couple of text fields. After save data is storied in file (or 
> in database).
>
> Generally i would like to store small pieces of text like phone number, 
> address, some tagline which are on several pages. And creating model with 
> full CRUD is unnecessary.
>
> How can i do this? Is it possible?
>
> Thanks in advance.
>
> Best regards,
> Wojtek
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/ImsMwIb5K_YJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.