Re: Postgres and backup/restore

2014-02-06 Thread Mike Dewhirst
On 7/02/2014 10:51am, Simon Riggs wrote: On 7 February 2014 00:31, Mike Dewhirst wrote: On 7/02/2014 10:07am, Lachlan Musicman wrote: Hola, What are people's recommendations for postgres db backup solutions? I've just installed django-dbbackup and will give it a try,

Re: two apps against one table (admin)

2014-02-06 Thread Drew Ferguson
Hi This seems a very complicated solution to a fairly basic problem unless I am missing something > On Feb 7, 2014 2:24 AM, "fborell" wrote: > > > I need to create a second application in the admin section that ports > > to the first applications model. The second

Re: two apps against one table (admin)

2014-02-06 Thread Ariel E. Isidro
What if you define your views to use only the fields that you need? On Feb 7, 2014 2:24 AM, "fborell" wrote: > All, > > I need to create a second application in the admin section that ports to > the first applications model. The second application's admin.py would >

Re: sprint at europython 2014

2014-02-06 Thread Russell Keith-Magee
Hi, Django sprints at PyCon events aren't usually formally announced; it's just assumed that there will be a bunch of Django people present, usually some core devs, and that they will be looking at Django problems, or will be able to answer Django related questions if they arise. I can't speak

Re: Postgres and backup/restore

2014-02-06 Thread Simon Riggs
On 7 February 2014 00:31, Mike Dewhirst wrote: > On 7/02/2014 10:07am, Lachlan Musicman wrote: >> >> Hola, >> >> What are people's recommendations for postgres db backup solutions? >> >> I've just installed django-dbbackup and will give it a try, but >> thought I'd ask what

Re: Postgres and backup/restore

2014-02-06 Thread Mike Dewhirst
On 7/02/2014 10:07am, Lachlan Musicman wrote: Hola, What are people's recommendations for postgres db backup solutions? I've just installed django-dbbackup and will give it a try, but thought I'd ask what others were using. Daily dump to a file which is backed up across the network.

Re: Postgres and backup/restore

2014-02-06 Thread John DeRosa
pg_dump is all you need, if your db is small enough. It generates a consistent backup. pg_dump, zip, stash it in a cloud container named "backup" is what we do. John On Feb 6, 2014, at 3:07 PM, Lachlan Musicman wrote: > Hola, > > What are people's recommendations for

Postgres and backup/restore

2014-02-06 Thread Lachlan Musicman
Hola, What are people's recommendations for postgres db backup solutions? I've just installed django-dbbackup and will give it a try, but thought I'd ask what others were using. cheers L. -- >From this perspective it is natural that anarchism be marked by spontaneity, differentiation, and

[ANNOUNCE] Django 1.6.2 and Django 1.7a2

2014-02-06 Thread Jacob Kaplan-Moss
Hey y'all -- We've just released Django 1.6.2, the latest bugfix release in the 1.6 series, and Django 1.7a2, the second alpha preview of the upcoming 1.7 release. As usual, more details are available on the blog:

sprint at europython 2014

2014-02-06 Thread waverider
Hi, Will there be a Django sprint at EuroPython 2014? I didn't notice Django sprints at previous EuroPython conferences. Why not? -- 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,

Re: two apps against one table (admin)

2014-02-06 Thread fborell
Proxy models seem to do the trick ... On Thursday, February 6, 2014 1:23:31 PM UTC-5, fborell wrote: > > All, > > I need to create a second application in the admin section that ports to > the first applications model. The second application's admin.py would > contain only 5 of the 15 fields

Should I keep used email confirmations?

2014-02-06 Thread voger
Hi, I am using django-allauth to register and authenticate users in my site. I am a little bit confused with the way it handles email verifications. After the message is sent to the user and the user confirms his email the confirmation stays available on the site. I saw the source code for the

Re: Optimizing DB query involving annotate and aggregate

2014-02-06 Thread Arnold Krille
On Wed, 5 Feb 2014 10:11:29 -0800 (PST) ST wrote: > Hi, > > I'm trying to optimize the run-time of getting total credit and debt > values out of our database. Ideally I'd like to formulate it as a > Django query. This is the raw SQL query I have, which produces the > right

two apps against one table (admin)

2014-02-06 Thread fborell
All, I need to create a second application in the admin section that ports to the first applications model. The second application's admin.py would contain only 5 of the 15 fields and be set for read-only. My goal was to allow certain users the ability to do a simple search and not see some of

Re: moving from sqlite3 to mysql

2014-02-06 Thread Malik Rumi
Ok, I got it working. And by working, I mean I got it to sync, I imported the database.json into mysql, and when I runserver everything is there as it should be. So, many thanks to all my gracious and more senior django users for your patient guidance and assistance. A note to all newbies who may

Re: Checkboxes collection instead of a multiple select

2014-02-06 Thread Tom Evans
On Thu, Feb 6, 2014 at 11:15 AM, Jonathan Querubina wrote: > Hi guys, > > How do i show a collection of checkboxes instead of a multiple select? > > Thanks! Sounds like you want to change the widget on a form: https://docs.djangoproject.com/en/1.6/ref/forms/widgets/

Re: Django Matrimonial Apps,

2014-02-06 Thread Esau Rodriguez
What do you mean by "matrimonial apps"? On Thu, Feb 6, 2014 at 2:18 PM, Puneet wrote: > Guys did you anything on this ? I am looking for one matrimonial app in > django. > > On Saturday, August 14, 2010 5:05:51 PM UTC+5:30, Kenneth Gonsalves wrote: >> >> On Sat, 2010-08-14

Re: Django Matrimonial Apps,

2014-02-06 Thread Puneet
Guys did you anything on this ? I am looking for one matrimonial app in django. On Saturday, August 14, 2010 5:05:51 PM UTC+5:30, Kenneth Gonsalves wrote: > > On Sat, 2010-08-14 at 12:28 +0100, Rizwan Mansuri wrote: > > I belies in open sources 100%. Anything what I will write would be > > 100%

Re: tutorial p.6 problem: style.css isn't loaded

2014-02-06 Thread Janek Warchoł
Hi, W dniu czwartek, 6 lutego 2014 04:48:42 UTC+1 użytkownik Daniel Sears napisał: > > templates/admin isn't necessary. Instead you should extend both TEMPLATE_DIRS > and STATICFILES_DIRS to include the templates and static files for the > admin package > Well, templates/admin/base_site.html

Re: Trouble in trying django form wizard example!

2014-02-06 Thread Tomas Vician
Dear Dilip, Did you solve this issue? I have same problem and I dont know what to do. Tomas On Tuesday, March 5, 2013 10:33:36 AM UTC+1, Dilip M wrote: > > Hi, > > I am new to Django and trying out form wizards. I am trying the example > mentioned in > >

Checkboxes collection instead of a multiple select

2014-02-06 Thread Jonathan Querubina
Hi guys, How do i show a collection of checkboxes instead of a multiple select? Thanks! -- 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

Re: Optimizing DB query involving annotate and aggregate

2014-02-06 Thread ST
On Wednesday, February 5, 2014 8:01:53 PM UTC, Anssi Kääriäinen wrote: > > Something like this might work: > > Transaction.objects.values_list('member_id').annotate(total=Sum('amount')).filter(total__gt=0).aggregate(Sum('total')) > This didn't work - it produced a "SELECT FROM" query, which

Re: url error

2014-02-06 Thread Cristiano Araujo
yeah, i found the error. just a slash unnecessary url(r'^tag/(?P\w+)$', 'tagpage'), url(r'^tag(?P\w+)$', 'tagpage'), ^ On Thu, Feb 6, 2014 at 3:52 AM, Babatunde Akinyanmi wrote: > Ji Cristiano. You show the code that is not behaving as you expect > On 6 Feb

Re: Need help on token-based authentication

2014-02-06 Thread Calvin Chen
Hi Rahul Gaur, Thanks for your answer. I will definitely take a look at the gist and repositories that you provided. Hopefully, it will gives me some ideas. :-) Thanks a lot. Kind Regards, Cheng On Thursday, February 6, 2014 6:03:03 PM UTC+8, Rahul Gaur wrote: > > Hi , > You can take a look

Re: Need help on token-based authentication

2014-02-06 Thread Rahul Gaur
Hi , You can take a look at the following GIST : https://gist.github.com/aregee/6310787 I have two projects , that implement the Token based authentication. I have used Django Tastypie for rolling out the RESTful apis and since tastypie offers ApiKeyAuthentication() method , on the client side I

Need help on token-based authentication

2014-02-06 Thread Calvin Chen
Hi, I couldn't find any real example about how to use token-based authentication in Django, and how to let it work with front-end MVC framework like AngularJS. Do you guys have any ideas? Kind Regards, Calvin -- You received this message because you are subscribed to the Google Groups