On Tue, May 20, 2014 at 8:39 PM, Chansons <chansonsyidd...@gmail.com> wrote:

> Hello everybody,
>
> I'm new to django, and writing my first app, I have a question before
> deploying it.
>
> I need to have a function that would create or modify, according to a few
> rules and a precise instance of a model (Song), many instances of another
> model (Words) at once.
> Writing that function is easy, my problem is, where should I put it, so
> it's easy to use when the application will be in production?
> Should it be in the model layer? Or in a separate module? Will I call it
> with the shell? Is it possible to access it via the admin site? Or any
> other way?
>
>
https://docs.djangoproject.com/en/dev/howto/initial-data/

-V

-- 
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/CAN7tdFSjMpE1Mxoy1gs83Bb%2BkDDANtRvsULrbrrhvfiyZiakRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to