Wednesday, November 30, 2011

Re: converting a large site to Django

Hello Mark,

On Wednesday, November 30, 2011 8:46:28 AM UTC-8, marjenni wrote:

All seems good, but what I need to know is what is the easiest/
quickest way of moving across the rest of the website onto this new
server? Will I need an entry for each page in the urls file?

It will be hard for us to answer that question unless we know more about how/where the old webpages are stored and how you would like to store them in your Django based website.

You have several options:

    Use an app like Flatpages < https://docs.djangoproject.com/en/1.3//ref/contrib/flatpages/ >, which comes with Django.  Webpages are stored in the database.  It might be pretty easy to populate your Django website with some python code you would write that would grab your old webpages, massage them, and store them into your new website database.

    If the old webpages are static, you could put them into the static area of your website.

Give us more detail and we can probably be of more help.

Toodle-looooooooooooooooo..................
creecode

--
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/-/MskCEcMHZvsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment