Re: Updating mixin subclassed instances

2016-11-02 Thread Radek Svarz
in(object): > __metaclass__ = PluginMeta > > > > So, all the classes that inherit from Plugin are stored in > Plugin.registry. Not sure if it works for mixins though. > > On Mon, Oct 31, 2016 at 4:03 PM, Radek Svarz > wrote: > >> Hi, >> >> I am

Updating mixin subclassed instances

2016-10-31 Thread Radek Svarz
Hi, I am using my custom permission mixin on several of my apps's models (not all). For the case when I need to merge from the "old - context" permission to the "new - context" permission I want to have function which changes the corresponding permission reference attribute in all models, whic

Re: Front End and Back End separation

2016-02-11 Thread Radek Svarz
at library and creating REST API is dead simple. > Data validation is pretty easy in DRF using serializers. > I tend to write my own authorization methods with DRF but they are also > easy. It is just plug and play for DRF. > > On Wed, 10 Feb 2016 at 15:33 Radek Svarz > >

Re: How to update a live / deployed Django project?

2016-02-10 Thread Radek Svarz
Tobias, I know I will not help you directly, but maybe my setup + process can help someone else. I am deploying towards Redhat Openshift 2 PaaS. I was in the similar situation choosing the best fit option for continuous deployment. Final process: - Merging the feature code to the master branc

Front End and Back End separation

2016-02-10 Thread Radek Svarz
Hi, I am deciding about the new architecture of the Django business app. The web frontend app constists of 1 highly interactive part - visual editor (using D3js) and several configuration pages. I am strong in the Django backend part, but outsourcing the JS front end to the freelancer.com guys

Re: What is the recommended schema design for dynamic dates in Django for PostgreSQL?

2015-10-20 Thread Radek Svarz
Hi Erik, thanks for m2m suggestion. What do you think about using suggested view in DB? (@SO) (i.e. the DB would do the conversion on the fly) Radek On Tuesday, October 20, 2015 at 5:39:18 PM UTC+2, Erik Cederstrand wrote: > > > > Den 20. okt. 2015 kl. 14.09 skrev

What is the recommended schema design for dynamic dates in Django for PostgreSQL?

2015-10-20 Thread Radek Svarz
Hi all, we have a Django app focusing on timeline evolution visualization. There we have conceptually the relationship of: 1 Item with 1 or more Lifecycles (more for versioning purposes) 1 Lifecycle has 0..n Milestones 1 Milestone is a date stored as a string in form -MM-DD or a special t

Platform.sh alternative for Django?

2015-09-29 Thread Radek Svarz
Hi, there is the https://platform.sh/ for PHP world for Continuous Deployment. Do you know of something similar for Django apps? Thanks, Radek -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: Whoosh autocomplete search logging for future analysis

2014-11-08 Thread Radek Svarz
bly configure Whoosh or whatever calls the search > function to write a record in the database with the query, and probably the > results, although probably not advisable on heavily trafficked sites or if > large result sets are common. > > -James > On Nov 7, 2014 9:05 AM, "R

Whoosh autocomplete search logging for future analysis

2014-11-07 Thread Radek Svarz
Hi, what is the best practice to setup the logging of search autocomplete logging for future analysis? When using Whoosh as a search engine and django. The search is searching within hundred thousands of product names. We want to get the insight on typos and typical name abbreviations. The a

Re: New app - architecture

2014-10-19 Thread Radek Svarz
g beta > > > CDN: google, maxcdn, other? (for JS, fonts etc.) > just serve them from your server, if you see performance problems after > releasing the first version you can consider them, and test. > this depends on your users location, before using CDN's make the content

New app - architecture

2014-10-18 Thread Radek Svarz
Hi, just imagine you have a chance to create a new application - on the greenfield (hurray! :) The application would be *Software as a Service ala Github, Bitbucket, JIRA, Mailchimp, Zendesk, Freshdesk*. I.e. friendly, direct frontend + some background tasks (initiated both by cron and users

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-21 Thread Radek Svarz
Hi, when do you expect to be in Prague? Radek On Oct 19, 7:10 pm, Brian Luft <[EMAIL PROTECTED]> wrote: > My wife and I are travelling through Eastern Europe for the next 2 > months. (we're starting in Amsterdam though). > > I'd love to meet up with any Djangonauts for a little chat. I like >

Re: deployment processes

2005-08-02 Thread Radek Svarz
Just to add: testing and production environment would have either MySQL or PostgreSQL Any thoughts?

Re: Help on cookbook

2005-07-31 Thread Radek Svarz
Just give an amount field to the Ingredient: class Ingredient(meta.Model): fields = ( meta.CharField('name', 'Name', maxlength=64), meta.CharField('description', 'Description', maxlength=128, blank=True), meta.FloatField('amount','Amount', max_digits=5, decimal_places=