Re: Where is the best place to get assistance installing Red Hat, Oracle and Django onto a VPN?

2015-06-10 Thread Frank Bieniek
This Article might help: Django, Redis, Postgres, DataVolume in a Docker Environment: https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Custom password validation

2015-04-14 Thread Frank Bieniek
Hi Larry, You could configure the routes in the urls.py, take the create user route and plug in your CustomPasswordForm... ... customization example of the userena urls for the normal frontend ... url(r'^(?P[\.\w]+)/password/$', userena_views.password_change, {"pass_form": PasswordChange

Re: {{STATIC_URL }} or {% static "...." %} What`s the correct to use?

2015-03-20 Thread Frank Bieniek
HI check your main urls.py for something like this: if settings.DEBUG: urlpatterns += patterns('', #(r'^media/(?P.*)', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}), (r'^static/(?P.*)', 'django.views.static.serve', {'document_root

What forms library do you pick for a new Project?

2015-01-09 Thread Frank Bieniek
Hi All, I do need a recommendation for the current top notch forms library to use for a new bigger project? The project does not have that much of planned ajaxified forms... django-crispy-forms 1.4 - 2013 django-floppyforms 1.3 - dec 2014 django-bootstrap3 5.0.3 - dec 2014 Which one would you p

Re: Django vs ExtJS

2014-12-30 Thread Frank Bieniek
Hi Joris, some of the best arguments for python + django, you could find here - : https://www.paypal-engineering.com/2014/12/10/10-myths-of-enterprise-python/ ... One language in particular has both a long history at eBay and PayPal and a growing mindshare among developers: *Python

Re: Django Models PrimaryKey not incrimenting I dont understand this framework and the documentation is poorly written.

2014-07-16 Thread Frank Bieniek
Hi there, you are telling django, you know what you are doing via managed = False -> no batteries included, please read the details here https://docs.djangoproject.com/en/dev/ref/models/options/ There are great books out there explaining django from other perspectives than the online documentati

Re: django.core.exceptions.AppRegistryNotReady

2014-07-08 Thread Frank Bieniek
Hi Marc, this should fix it: File "/home/orchestra/django-orchestra/orchestra/apps/accounts/models.py", line 9, in Account user = models.OneToOneField(get_user_model(), related_name='accounts') change it to: user = models.OneToOneField(settings.AUTH_USER_MODEL, related_name='accounts')

Re: django 1.7 upgrade + tastypie -> AppRegistryNotReady

2014-07-02 Thread Frank Bieniek
django model form can, deferr their meta model handling, I was looking for some hints for building a workaround. Thanks Frank Am 02.07.14 18:12, schrieb Tom Evans: On Wed, Jul 2, 2014 at 3:48 PM, Frank Bieniek wrote: Hi all, does currently anybody upgrade his django 1.6 projects with south

django 1.7 upgrade + tastypie -> AppRegistryNotReady

2014-07-02 Thread Frank Bieniek
Hi all, does currently anybody upgrade his django 1.6 projects with south and tastypie to the new django1.7 Resources definition of Tastypie collids with the new app registry loading. I do want to upgrade the project to django 1.7 but I can not replace the whole rest api app - "an upgrade fork i

Re: How to host multiple instances of the same app with Windows Apache & WSGI?

2014-02-25 Thread Frank Bieniek
Hi Tom, if I would walk in your shoes, duplicate the source in different folders, so you do not create a single point of failure. If you mess in one project the other one behaves the same, as long as you do not deploy again... If you would run in linux I would have said, create different symlin

Re: Integrate with an ADFS Server for Login

2014-02-25 Thread Frank Bieniek
Hi, I found these ones, after some googleing, hope they migth help you... ldap authentication: http://stackoverflow.com/questions/10725891/authenticating-to-active-directory-with-python-ldap-always-returns-97 active directory python https://github.com/dfwarden/ActiveDirectory-Python active

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread Frank Bieniek
. pip install --no-deps django-debug-toolbar may help when the version become 1.6, right? by the way, I tried pip install --no-deps django==1.3 did not help Jun 2014年2月18日火曜日 5時01分53秒 UTC+9 Frank Bieniek: Hi, pip install --no-deps django-debug-toolbar might help. --no-deps = no

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread Frank Bieniek
Hi, pip install --no-deps django-debug-toolbar might help. --no-deps = no dependencies I highly recommend you pip freeze your current environement and then just do a pip install --no-deps new_component_name, thisway you know what is in your environment and no component can seek stuff in... h

Re: migrations to custom user model - complex project

2014-01-27 Thread Frank Bieniek
Thanks Arnold, for the details. Am 25.01.14 21:22, schrieb Arnold Krille: We did something similar, we switched from djangos own user model + our profile to just using our profile extended by email and password (no username anymore and no openid (yet)). What you need to do depends on whether yo

migrations to custom user model - complex project

2014-01-24 Thread Frank Bieniek
Hi All, a do have to upgrade an existing django project, it is an openid provider with around 10k users. In order to update to django 1.6 I do need to get rid of the good old AUTH_PROFILE_MODULE and need to switch to CustomUserModel, and I do not want to break existing mysql constraints. Django==

Re: install Django locally

2014-01-10 Thread Frank Bieniek
Hi, It sounds you are looking for virtualenvironments, http://www.virtualenv.org/en/latest/ It helps you to put everything related to your project in one environment. https://docs.djangoproject.com/en/dev/topics/install/#installing-an-official-release-with-pip Cheers Frank Am 10.01.2014 13:34,

Re: Error Doing python manage.py syncdb in django pyBB

2013-12-15 Thread Frank Bieniek
django.utils.simplejson is deprecated; use json instead. Hi Alok, it seems pyBB is not django 1.6 compatible - simplejson got deprecated in 1.6 just my 2 cents Frank Am 14.12.13 15:15, schrieb Alok Nag: Hello Experts, I am newbie to Django/Python. I am trying to setup a forum app using py

Re: Making sure I'm not missing out on some must have Django apps

2013-12-15 Thread Frank Bieniek
Hi, I would add some: django-userena - user self registration django-organizations - user and organizations django-guardian - object level permissions django-paranoia - paranoid security stuff django-cache machine / johnny-cache Thx Frank Am 15.12.13 17:43, schrieb Some Developer: Right so it ha

Re: Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-12 Thread Frank Bieniek
Hi Mark, you have debug turned on. http://198.154.98.107:8000/themes/h-free-software/ and a broken theme. Good luck Am 12.12.2013 20:02, schrieb Mark Moss: *_Top 3 challenges of a django-cms user:_* 1. Are you trying to use django-cms, but got tangled with the complex setup process? 2.

Re: Experiences with A/B testing?

2013-12-03 Thread Frank Bieniek
A/B Testing is an universe of its own... There is a saas called kiss metrics. Google offers a/b testing inside analytics. If you want to improve your conversion funnel, you need to factor in the source of your traffic and segment it. Taguchi Split Testing is another route. If you just want t

Re: Upgrading from 1.5 to 1.6 - problem with Apache

2013-11-14 Thread Frank Bieniek
Hi Robert django.conf.urls.defaults got deprecated in 1.5 - removed in 1.6 ... it looks your urls.pys are broken now. https://docs.djangoproject.com/en/dev/internals/deprecation/ django.conf.urls.defaults will be removed. The functions include()

Re: How to Query account/profile information for multiple account and allowing user edit or update acount

2013-09-30 Thread Frank Bieniek
Please try, django-userena, or django-registration, both deal with userdetails. Thx Frank Am 30.09.13 20:33, schrieb Okorie Emmanuel: I have two problems 1. How can i populate the account information of each user, this what i have done but only info on user models populates, the info

Re: django-ssl-auth

2013-09-29 Thread Frank Bieniek
Please check this post http://www.mail-archive.com/modwsgi@googlegroups.com/msg04658.html Thanks Frank Am 29.09.13 21:52, schrieb Liam Thompson: Hi everyone I am running Django 1.5.2, using Apache 2.2.22, (WSGI) on Linux Ubuntu 12.10. I am a Django newbie and am trying to get my head around

Re: Restrict access to user-uploaded files to authorized users

2013-09-26 Thread Frank Bieniek
Django filer might be usefull http://django-filer.readthedocs.org/en/latest/secure_downloads.html Am 26.09.13 03:24, schrieb m1chael: I think Xsendfile is what you want On Wed, Sep 25, 2013 at 12:51 PM, Mattias Linnap > wrote: > Are there any obvious solutions

Re: How to share model/data cross django project

2013-09-24 Thread Frank Bieniek
Hi Dig, you want to have different permissions actions depending on the user, that accesses the data, but it is the the same data - correct? if so you are speaking about one app not two. One App, as it is the same data, but different views, related to the context you are accessing it. Do you

Re: Install MySQL for Python Django on my Windows PC

2013-08-06 Thread Frank Bieniek
Take a WAMP and add mod_python to apache for full blown compatibility. or just use the mysql form the wamp system. thx Am 06.08.2013 17:38, schrieb Glenn Vulkers: Hello , I'm wondering how I can install Mysql to use in Python Django on my Windows PC. I tried to install Ubuntu on a Virtual PC

Re: London based Django Dev: UX/UI (£300 per day)

2013-07-02 Thread Frank Bieniek
Hi George, for that kind of money do not expect to get a senior Cheers Frank Am 02.07.2013 21:57, schrieb George Kazarian: By way of introduction my name is George and I'm the founder and CEO of www.therecipekit.co.uk . We are a London based online retail

Re: Sharing session among multiple domains (generic web development question)

2013-06-13 Thread Frank Bieniek
HI Tom, what about an openid single sign on. there is a python package out there doing it. openid_provider from openid_provider.models import OpenID, TrustedRoot and glue it together with django userena and you have your sso. Thanks Frank Am 12.06.13 13:38, schrieb Tomas Ehrlich: Hi Tom,

Re: Problem Django Admin app is read only!

2013-06-06 Thread Frank Bieniek
Hi, who is serving your media files? apache? In debug mode django is not delivering them, if it is run through mod_wsgi Greets from Ratingen Frank Am 06.06.13 17:08, schrieb Enaut Waldmeier: Hi, I have a problem with django-admin whenever I deploy my page to the apache server with DEBUG=Fals

Re: Best Pratice To Implement User Types

2013-06-04 Thread Frank Bieniek
Hi, the user stays the same, but he becomes member of the PaidMember Group, (Access handling) and he gets a monthly payment record history entry. Think about role changes, becomes PaidMember, leaves PaidMember, becomes FreeUser, leaves FreeUser. So you have to think about the role change tra

Re: Cache witin a single transaction / session ?

2013-05-24 Thread Frank Bieniek
Hi try johnny-cache http://pythonhosted.org/johnny-cache/ Thx Frank Am 24.05.2013 08:50, schrieb brycenesbitt: |Does there exist a lightweight cache option for django which persists data in a single session. For example: {{gallery.tiles.count}} item{% if gallery.tiles.count != 1 %}s{% endif

Re: Multi Client Django System

2013-05-23 Thread Frank Bieniek
"user"? I was thinking there might be a link through the site.model reference Managers get. Or maybe a way to pull it from session, but I keep get stuck on the fact this isn't a view, so it has no obvious access to a "request" object Thanks in advance! On

Re: Authentication with Email

2013-03-20 Thread Frank Bieniek
Hi, take a look at http://www.django-userena.org/ customziable login and registration. Thanks Frank Am 20.03.2013 01:09, schrieb fire_water: Hi, I am fairly new to Django and have started building a website that will require users to create an account with a username, email address, and pas

django / django cms + responsive

2013-03-14 Thread Frank Bieniek
Hi Guys, what are your preferred apps to turn django or django cms into a responsive website? What are your recipes? Thanks Frank -- 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 i

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-13 Thread Frank Bieniek
Hi Pratik, we have glued something together for openid. git+git://github.com/openid/python-openid.git@7d65da5987 django-tastypie django-guardian hg+http://bitbucket.org/jezdez/django_openid_provider/@746ab34a974a django-social-auth oauth2 # iptools/netaddress tools for the api access based on ip

Re: Multi Client Django System

2013-02-25 Thread Frank Bieniek
We achived the second level auth, by tying an extended group to a company, all company members are part of this group, so we can leverage the normal auth mechanismen. Hope this gives you an idea. Thanks Frank class CompanyManager(models.Manager): filter_by_user_limit_field = None def

django 1.4.3 to 1.4.4 upgrade fails - Bad magic number Import Error

2013-02-21 Thread Frank Bieniek
Hi, we are using jenkins to build our django stack, we changed the django version from 1.4.3 to 1.4.4. this results in a ImportError: Bad magic number in /x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/contrib/sessions/management/__init__.pyc Even deleting all pyc files do

Re: django generate pdf with tables and charts

2013-02-14 Thread Frank Bieniek
Checkout happypdf.com rest call to create your pdfs Am 14.02.2013 04:28, schrieb Waitman Gobble: On Feb 10, 2013 8:11 AM, "Jaimin Patel" > wrote: > > I am trying to generate pdf using django template, also need some support of javascript code. I have tried PISA,

django goes enterprise- your stories/numbers/setups

2012-12-03 Thread Frank Bieniek
Hi Django Users, I do need to do some recommendations related to django in the enterprise environment. Thats why I do need a bigger picture, larger than my teams expirience. So I do as YOU about YOUR experiences with django and larger audiences. What are your recommended infrastructure setups/c

Re: Trouble with VirtualEnv on Windows

2012-10-15 Thread Frank Bieniek
Hi, do a "pip freeze" after you have activated your environment, this way you see the packages that are visible to the python interpreter inside your virtual env. Possible Problem You have installed all packaged before you created the virtual env. -> virtual env shows no components. pip instal