Hi Déborah,

Same advice as the last email I sent this morning: do the Django tutorial
<https://docs.djangoproject.com/en/1.8/intro/tutorial01/>. Already been
through it? Do it again. All the answers you seek are in there.

I would avoid generic labels like "service", "ID", and "library". Instead,
get to the heart of the matter and create a model each for Shop,
Restaurant, etc. You most likely want those to inherit from Displayable,
though they may be more Page-like, so inheriting from Page may be
acceptable to you. That is a decision you can put off until later.

hth.

-ken

On Tue, Jul 28, 2015 at 9:38 AM, Déborah Leder <[email protected]> wrote:

> Hello
>
> I am trying to make a website where I could register some services (shops,
> restaurants, etc.). I would like to be able to place those services on one
> or several maps, as well as to dedicate one or several pages to some of
> those services. And for both of them (maps & pages) I would use the same
> information (phone number, name of the service, adress, link to their site,
> etc.).
> Therefore, I would like to create a model Service_ID with several fields.
> Service_IDs should be creatable, editable, and deletable from the admin
> interface. And I would also like to be able to store them (from the admin
> interface) in a library, like the media library, from where I could select
> a service and import its data to some pages.
>
> To sum up, what I imagine is an ID_Library in the admin interface. One
> should be able to click on "ID Library", and then :
> - see all the services that have already been registered
> - be able to create one thanks to a form
> - be able to edit one thanks to the same form
> - be able to delete one
>
> Is it possible ?
> If so, could you give me some directions on how to do it ?
>
> Deborah
>
> --
> 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.
>

-- 
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