Is  PostgreSQL a better solution over MySQL?
I too need to learn  PostgreSQL.

On Thursday, February 21, 2013 7:25:00 PM UTC-5, Russell Keith-Magee wrote:
>
>
> On Fri, Feb 22, 2013 at 5:58 AM, Peter <peter....@gmail.com 
> <javascript:>>wrote:
>
>> I've a new Django user who went through the tutorial and built a few very 
>> simple apps (e.g. a Craigslist app) using SqlLite for my database.
>>
>> Can someone advise on what's the best way to deploy a simple Django app? 
>>  I'm aware of Heroku's Django tutorial but am not yet familiar with how to 
>> use Postgres.  Should I learn how to work with a real database first?
>>
>
> Long term, learning how to use PostgreSQL in depth will certainly be worth 
> your time. However, if you're just starting out with database-backed web 
> development, there's isn't much you need to know. One of the benefits of 
> using a tool like Django's ORM is that you don't need to know about the 
> details of your data store. Your SQLite code should work exactly the same 
> on PostgreSQL. User.objects.all() works the same regardless of the database 
> you're using.
>
> At some point you'll definitely need to learn more about PostgreSQL -- 
> especially if you start looking at going into production and you need to do 
> some performance tuning. However, if you just want to get your site up and 
> running on Heroku, I'd suggest just following the Heroku tutorials and 
> taking the PostgreSQL-specific bits as boiler plate.
>
> Yours,
> Russ Magee %-)
>
>

-- 
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