Hello,

I am about to launch a Codeigniter project, but have future thoughts about 
trying out Django sometime down the line.

My data is in MySQL and I have the urls as:

www.site.com/product/id/slug-name

The id is they primary id of the product.

If I do switch over to Django, will it be simple able to keep the 
primary_id intact for my tables, so I don't have to change the urls? Or 
will it take a bit of effort to massage the data so it has the same primary 
id. I imagine it shouldn't be too difficult, but just wanted to double 
check before I launch with my urls.

So, i'd like:

www.site.com/product/10/widget

to work in both codeigniter and django without needing to modify anything. 
Or would it be better to create a new number and use that instead of the 
primary_id and use that to lookup my record.

Thanks!

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

Reply via email to