Yes, it's okay to just try stuff out locally, but one word of caution, 
after everything is working and before you deploy the code, it's probably a 
good idea to review any "lets see how this looks/works" code/decisions to 
make sure it still makes sense.

Once a URL is in the wild, it's annoying to change because you have to 
decide if you need to redirect from the old urls to somewhere and if you do 
you have to figure out if it should be permanent and where you want it to 
redirect to and then implement the redirect.

Considerations for if you need a redirect:

   - Could someone be looking at a page that has a link while you are 
   deploying the code and then the link will take them to a 404?
   - Is it in a search engine somewhere that will then be used by a user to 
   try to reach your site?

Sam

On Wednesday, April 10, 2013 11:41:28 PM UTC-7, Mulianto wrote:
>
> Hi
>
> In django you can change the public URL with out change the function call 
> in the view.py
>
> The URL.py is flexible and can be just inside each app you create for 
> reusable .
>
> Mulianto
>
> Sent from my iPhone
>
> On 11 Apr 2013, at 13:11, surya <kastur...@gmail.com <javascript:>> wrote:
>
> I have an unstructured idea in my to implement (say a weekend hack).
>
> The thing here is, how to give it a structure.. 
>
> 1. should I first define URLs and then divide apps based on it?
> 2. or something else.
>
> I want to develop a ratings site.. where people rate on product X.. 
>
> I like to divide apps in this way
>
> pages (have static pages if at all present)
> submissions (stores products, and ratings)
> persons (user accounts etc..)
>
> etc.. 
>
> any suggestions.
>
> Its like I am spending more time on designing things than writing code. 
> why is that happening and how to fix it.
>
> -- 
> 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...@googlegroups.com <javascript:>.
> To post to this group, send email to django...@googlegroups.com<javascript:>
> .
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to