Re: ANN: django-yamlconf v1.2.0 is available

2020-02-24 Thread Gabriel - Iulian Dumbrava
You are suggesting in the demos that the settings.py file should contain de development definition of variables and override them later on with loading the specific settings from yaml. would contain the development oriented definitions, e.g., database > definitions for user and password for a

Re: How to achieve wildcard search using haystack in django

2018-04-11 Thread Gabriel - Iulian Dumbrava
Please note that there are a few considerations when using wildcards. First, there are some issues with haystack and woosh, as the one here . Wildcards work by default with autosearch, otherwise you'll have to compile the

Re: How to restrict Model.objects.all() to data pertaining to one organization

2018-04-10 Thread Gabriel - Iulian Dumbrava
I think django-multitenant gives you the best answer. marți, 10 aprilie 2018, 14:04:03 UTC+3, Mauro Crociara a scris: > > Hi everyone, > > I posted this question >

Re: How to restrict Model.objects.all() to data pertaining to one organization

2018-04-10 Thread Gabriel - Iulian Dumbrava
Please take a look at this comparison grid. At least one of those packages allows automatic filtering of queries if you set it up properly. For example, each table must have that 'organisation' field to filter on it. marți, 10 aprilie 2018,

Crispy forms not showing bootstrap and save/submit button

2017-07-26 Thread Gabriel - Iulian Dumbrava
Maybe it's because you have instructed crispy to not generate the form tag and you have not added it yourself in the HTML code. -- 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: Multiple User Types in Django 1.11

2017-07-25 Thread Gabriel - Iulian Dumbrava
You may go with Russ' solution or you may create two UserGroups, one for Students and one for Teachers, each having different access rights. This also allows for the edge case where a person may be a teacher and a student on the same time. Different behavior at python level can be implemented

Vim plugin that does Django code completion?

2017-07-09 Thread Gabriel - Iulian Dumbrava
I also suggest buying a PyCharm license. If you are working on a professional level and you have to do remote editing you'll most likely need to use line by line remote debugging. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Debugging DJango app on production for High CPU Usage

2016-02-29 Thread Gabriel - Iulian Dumbrava
Hi! I have seen such a behavior on a couple of sites running an older version of Zinnia. It simply hit the 100% CPU usage on some queries. I would also suggest integrating New Relic. It gives you a pretty detailed information on where the CPU is spending most of the time. miercuri, 24

Re: How to prevent save/delete in the Admin

2015-03-29 Thread Gabriel - Iulian Dumbrava
In case you hide/not display the save/delete button you must also double check in the delete view if the current user has the right permissions to delete the item. It's pretty easy to add a post button in firebug, or even trigger the post using a different method. duminică, 29 martie 2015,

Re: Textarea taking htnml tags

2015-03-27 Thread Gabriel - Iulian Dumbrava
Have you checked if the html tags actually end up in the database? If yes, then the problem is either in the view or in the template (like not using the safe filter). vineri, 27 martie 2015, 08:27:15 UTC+2, akash...@ranosys.com a scris: > > Hie to all, > In one of my template i am using text

Re: Django project for multiple clients

2015-03-27 Thread Gabriel - Iulian Dumbrava
If your clients are using different subdomains, like client1.webapp.com, client2.webapp.com then you can have separate settings file per subdomain and completely isolate the client data, but still use the same virtualenv and codebase. You must also take care of the file upload/access because

Any companies in UK interested in outsourcing partnership with a Romanian company?

2015-03-23 Thread Gabriel - Iulian Dumbrava
Hi all, I don't know if this is the perfect place to post this, but I couldn't think of a better one. I'm open to suggestions. I run my own software company in Romania and between 8th and 21st of April I'll be in London. If there is anyone interested in having a chat face to face please

Re: Is it wrong to disable a lot of the core django features?

2014-11-26 Thread Gabriel - Iulian Dumbrava
uot;Authorities") > *additional tables will be configured for assigning Roles to CustomUsers > most likely through a many to many - join > > Using our very limited design above, what would you recommend approach be > for using the providing "Grouping/Perms"?

Re: Is it wrong to disable a lot of the core django features?

2014-11-22 Thread Gabriel - Iulian Dumbrava
Hello! I would suggest to not drop the use of the built in auth module. You have many template and view tags, decorators, etc which are very helpful. You may, for example create a group for each company/branch then add each user to their respective groups upon registration. Each groups may

Re: image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property that should retain a dummy text and try to display that. If that works change the dummy text with img, then look at the source page generated by the admin. Maybe the image url is not correctly set and some browsers don't show the img placeholder if the src is wrong. -- You

image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property to your model that returns the img tag you want, set it to allow html content, then add the property to list_display in your admin.py. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Tinymce 4.x with grappelli filebrowser?

2013-10-06 Thread Gabriel - Iulian Dumbrava
Hi, There are a few forks of django-filebrowser-no-grappelli that have solved this issue. Probably someone has solved it in a fork of the grappelli version. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

How to Create an Auto Incrementing Integer Field

2013-07-27 Thread Gabriel - Iulian Dumbrava
I ended up using a stored procedure for something similar, triggered on after insert. -- 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 social auth with custom user model is not working

2013-04-28 Thread Gabriel - Iulian Dumbrava
Use Django allauth (check the correct name). It has everything you need and it works with Django 1.5. It has: - all social platforms supported - only email check, no username - multiple social accounts linked to a django account I hope it helps! -- You received this message because you are

custom logging with keywords

2013-04-08 Thread Gabriel - Iulian Dumbrava
Hi guys, some time ago a post was made on this group (I think) about a custom logger that you can use to easy add log messages with specific keywords that may appear in the admin as a filter. Does any of you know what this package is? I simply can't find the entry anymore. Thanks! Gabriel

Create Django web apps with drag and drop interface builder

2013-03-25 Thread Gabriel - Iulian Dumbrava
Hi Tim, I have not tried webbot yet, but I would also like to make a suggestion. Take a look on how Servoy is built. It is also kind of a framework to build database intensive apps both for web and smart client. They have built it on top of eclipse, so they were able to leverage on that.

Multi Client Django System

2013-02-23 Thread Gabriel - Iulian Dumbrava
As far as I remember there is already a package out called django-saas or something like that. Let me know how you solve it. Gabriel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Multi Client Django System

2013-02-23 Thread Gabriel - Iulian Dumbrava
How I would do it would be to have a special column (foreign key) in each table (model) called Company (company_id) and change all default managers to filter on company_id = logged_in_user.company_id. In this way you are sure tha users only see what belongs to their company. You would have

Re: Is it necessary to restart server after a change?

2013-02-19 Thread Gabriel - Iulian Dumbrava
I'm using a monitor.py script which monitors any .py files for a change and triggers a reload in case one is changed. This is a great way to stay away from touching the wsgi script any time you change something. I recommend this for development process only. Read

Django-allauth: ImproperlyConfigured at /accounts/login/ No Facebook app configured: please add a SocialApp using the Django admin

2012-12-25 Thread Gabriel - Iulian Dumbrava
Hi Manu, Enter the admin and at allauth -> apps add a new application of type "Facebook" with your FB credentials. You have added a facebook login in settings.py but such a login type is not yet defined in admin. I hope this helps! Gabriel -- You received this message because you are

Re: Choosing a Django-based CMS

2012-08-06 Thread Gabriel - Iulian Dumbrava
I did use FeinCMS to extend the Page model and it works pretty well. Gabriel duminică, 5 august 2012, 10:30:57 UTC+3, Sean O'Brian a scris: > > Hi! > I'm using Django CMS for a few of weeks and I like it. But there's one > problem, which I already ran into: I can't extend Page model easily. > I

Re: Any clue why Facebook iframe would be blank?

2012-06-22 Thread Gabriel - Iulian Dumbrava
Hi, I think something similar happen to me when I set the width of the iframe to be too narrow. I'm not very sure, but maybe you cand check it out. Gabriel marți, 19 iunie 2012, 23:03:36 UTC+3, Kurtis a scris: > > *Bump* > > I've been trying to diagnose this problem. I have no idea what's going

Re: cPanel Python/Django support

2012-05-02 Thread Gabriel - Iulian Dumbrava
Unfortunately to make it more useful to deploy django, some hosting providers should stop providing CentOS with Python 2.4. I just got another server with this flavour and I had to install my own version of Python. Come on, it's 2012!!! Gabriel luni, 30 aprilie 2012, 21:24:36 UTC+3, shacker

Re: ANN: Releasing Django Media Tree, a media file management application for the Django admin

2012-02-02 Thread Gabriel - Iulian Dumbrava
Hi Samuel, thanks for the update. Is there an easy way to use it within TinyMCE? I have used filebrowser in the past, but I would like to use yours instead. Thanks! Gabriel On 28 ian., 07:03, Samuel Luescher wrote: > Hi, > > I just pushed a massive update

Re: ANN: Releasing Django Media Tree, a media file management application for the Django admin

2012-01-20 Thread Gabriel - Iulian Dumbrava
Great job guys !!! Why don't you list your Django CMS integration here: https://www.django-cms.org/en/extensions/ ? Are you going to make some Fein CMS integration also? I believe that these two CMS systems are two of the best, and I like them both. Gabriel -- You received this message

Re: Editable datagrid

2011-11-24 Thread Gabriel - Iulian Dumbrava
Hi Vikas, I have successfully used jqgrid. It's very customizable and you have inline editing and form editing. Best regards, Gabriel On 21 nov., 13:46, Vikas Rawal wrote: > I am new to django and to web programming. I am trying to build a > database application

Re: Mingus vs Zinnia

2011-03-16 Thread Gabriel - Iulian Dumbrava
I believe, yes. From what I read about it, it's using other apps and it does not create any new models. So, as long as you can extend the other apps, you can extend it. Gabriel On 16 mar., 13:45, Venkatraman S <venka...@gmail.com> wrote: > On Wed, Mar 16, 2011 at 4:28 PM, Gabriel

Re: Mingus vs Zinnia

2011-03-16 Thread Gabriel - Iulian Dumbrava
Hi, I did work with Zinnia, and I'm very pleased with it. Some cool features: - It's easy to extend and it comes with useful template tags. - Integration with Django CMS - Automatic sitemaps - more, more I have no experience with Mingus, but from I've seen on their web site, it is much simpler.

Re: deprecation warning

2011-03-06 Thread Gabriel - Iulian Dumbrava
Thanks for your reference. I'm not using any custom fields defined by myself. Probably they are from one of the used apps. Thanks! Gabriel On 6 mar., 15:25, Łukasz Rekucki <lreku...@gmail.com> wrote: > On 6 March 2011 13:55, Gabriel - Iulian Dumbrava > > <gabriel.dumbr..

Re: change file upload filename, store the orignal, and postback on download the original filename

2011-03-06 Thread Gabriel - Iulian Dumbrava
ns <tevans...@googlemail.com> wrote: > On Fri, Feb 11, 2011 at 2:05 PM, Gabriel - Iulian Dumbrava > > <gabriel.dumbr...@gmail.com> wrote: > > I found a solution on the second part, sending the file back to the > > user with the original filename here: > >http://stacko

deprecation warning

2011-03-06 Thread Gabriel - Iulian Dumbrava
I couldn't find any reference on what I have to change to get rid of this deprecation warning. I'm using the trunk version: VERSION = (1, 3, 0, 'beta', 1) This is what I get: [Sun Mar 06 14:47:36 2011] [error] /usr/local/lib/python2.6/dist- packages/django/db/models/fields/subclassing.py:80:

Re: change file upload filename, store the orignal, and postback on download the original filename

2011-02-11 Thread Gabriel - Iulian Dumbrava
I found a solution on the second part, sending the file back to the user with the original filename here: http://stackoverflow.com/questions/1156246/having-django-serve-downloadable-files I would still need some help on the first part. Thanks, Gabriel On 11 feb., 14:57, Gabriel - Iulian

change file upload filename, store the orignal, and postback on download the original filename

2011-02-11 Thread Gabriel - Iulian Dumbrava
Hi guys, I want to do this: 1. from admin I want to upload a file, store the original filename but change it on the storage device, based on the current date, for example 20110211144900.file 2. if at a later time someone wants to download that file, it should get it back and saved to the local

RSS error

2010-09-28 Thread Gabriel - Iulian Dumbrava
meters" Thanks! Gabriel - Iulian Dumbrava This is my configuration: from verticalsoftware.galleries.models import LatestGalleriesFeed feeds = { #'articles': ArticlesFeed, 'blogs': LatestEntries, #'podcasts': PodcastFeed, 'gallery': LatestGalleriesFeed, } urlpatterns = patterns('',