Thank you for your quick reply :)
Actually, I am a little concerned that I may have a lot of work ahead
of me!
I have an existing php based website that is used to advertise holiday
accommodation, and the pages that contain advert listings are
dynamically recreated every 24 hours.
I needed to implement a search feature, and this seemed much easier to
write in python than php, so on a new server I created a django
project, and basically all this contains is the modified home page of
the existing website with the search that generates a list of results.
Now I need to move across the rest of the website to the new server,
and I need to do this with minimal effort. I also need to preserve the
existing page URLs.
It maybe the case that there are no real shortcuts, but I just didn't
want to make unnecessary work for myself!
If anyone has some tips, please let me know.
Thanks again for the support
Mark
On Nov 30, 5:21 pm, creecode <creec...@gmail.com> wrote:
> 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 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