[mezzanine-users] Re: ID Cards library

2015-07-28 Thread Déborah Leder
Actually, I have already gone through the tutorial twice.
Given your response, I fear that I may not have been very clear in my 
previous message : I used the generic terms service and ID just as an 
example, to try to be clearer, and I used the term library because it is 
exactly what I want. Maybe that it is not completely the same since I don't 
want to upload 'ID cards' from my computer, but I would want to store them 
and access them the same way as the Media Library. And I would also want my 
semi-library to appear in the same menu as the media library. And I 
especially don't want to register the services as pages. I know how to make 
the model I want, how to define the fields that I want the admin to be able 
to edit in the models.py file of my django app. But the thing that I don't 
know how to do (if it is even possible) is to create a library like the one 
that is described.

-- 
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] Re: ID Cards library

2015-07-28 Thread Déborah Leder
Maybe, if not a library, I could have a similar way to store the IDs, and 
when editing a map for example, all the services that are stored could be 
presented like boxes which one should check if the service sould appear on 
the map.
Anyway, what I am sure that I want is an access in the admin menu with an 
easy way to create, edit, and delete entries.

-- 
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] Re: ID Cards library

2015-07-28 Thread Eduardo Rivas
Here's how I'd do it:

Create a Service model, where you store the service type, ID, etc. Then
create a MapPage and a ServicePage which could be related to the Service
model via many to many relations.

Your users can then log into the admin, create and manage services, and
easily add them to MapPages or ServicePages via the many to many widget.

In templates, you can easily access the the services provided with the
custom page instances, and display them as you like.

In general, I would advice to stick with the default admin interfaces (as
I've explained) instead of creating your own. Your future self will be
grateful!

-- 
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] Re: ID Cards library

2015-07-28 Thread Déborah Leder
Thank you very much, Eduardo, I'll try that.

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