NoReverseMatch at /user/password_change/

2014-07-18 Thread Pepsodent Cola
Hi, I transferred my project files from Django 1.5 to 1.6. Which means I have to fix things that worked before. When I use the default url to change passwords then things looks ok. http://127.0.0.1:8000/admin/password_change/ But when I use my customized change passwords page - which is a copy

Re: NoReverseMatch at /user/password_change/

2014-07-18 Thread Pepsodent Cola
I think it got fixed simply by naming the url. No more complaints from Django 1.6. :) url(r'^user/password_change/done/$', 'django.contrib.auth.views.password_change_done', name="password_change_done"), # v.2 On Friday, July 18, 2014 1:22:59 PM UTC+2, Pepsodent Cola wrote: >

Alternative to django-registration (unmaintaned since September 2013)

2014-07-18 Thread Santiago L
Hi, Some weeks ago I noticed that django-registration is not longer maintained by its creator: quoting https://bitbucket.org/ubernostrum/django-registration/wiki/Home > django-registration > I stepped down as maintainer of this application in September 2013. Pull > requests, issues and comments

urls prob

2014-07-18 Thread ngangsia akumbo
*urls* from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from blogs.views import PostListView from blogs.views import PostDetailView from events.views import EventListView from events.views import EventDetailView urlpatterns = patterns('',

Re: urls prob

2014-07-18 Thread ngangsia akumbo
it gives me this error Page not found (404)Request Method:GETRequest URL: http://127.0.0.1:8000/event/ No post found matching the query You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. > --

Re: urls prob

2014-07-18 Thread Sergiy Khohlov
try to use url(r'^/event/$', EventDetailView.as_view(), name='Event-detail') and ofcourse turn off color Many thanks, Serge +380 636150445 skype: skhohlov On Fri, Jul 18, 2014 at 3:43 PM, ngangsia akumbo wrote: > it gives me this error > Page not found (404)Request Method:GETRequest URL:

RE: Django and Python-Ldap with Active Directory Question

2014-07-18 Thread Ilya Kazakevich
You need to use one level scope: Try the following script: # coding=utf-8 import ldap GROUP_DN = "ou=ENKI Users,dc=enki,dc=local" LOGIN = "tom" # Its better to use full name like DOMAIN\\tom or tom@enki.local PASSWORD = 'sdfsdf' LDAP_URL = "ldap://172.19.48.45:389"; ldp = ldap.initialize(LDAP

Re: idea: deploy static files on github pages CDN

2014-07-18 Thread Alejandro Perez
I was just thinking about some free place where to put all my static files out of my server.. It would be wonderful if this works in a production server, maybe something with nginx and uwsgi.. Did you try that? Thanks for this tip! -- You received this message because you are subscribed to the

Re: urls prob

2014-07-18 Thread ngangsia akumbo
It is still breaking On Friday, July 18, 2014 1:56:38 PM UTC+1, Sergiy Khohlov wrote: > > try to use > url(r'^/event/$', EventDetailView.as_view(), name='Event-detail') > > > and ofcourse turn off color > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Fri, Jul 18, 2014

Re: idea: deploy static files on github pages CDN

2014-07-18 Thread Cal Leeming [Simplicity Media Ltd]
I'm curious, why would you put your static web app files on Github Pages? This is not just inconvenient (due to the way it works, lack of cache control etc), but is also quite a blatant abuse of their service. If you're looking for a CDN, why not just put Cloudflare in front of your sites? Cal O

Re: urls prob

2014-07-18 Thread Sergiy Khohlov
Ok, I've used some code from tutorials : 1) add apl akumbo python manage startapp akumbo 2) add your models 3) add urls: from django.conf.urls import patterns, include, url from django.contrib import admin from akumbo.views import EventListView from akumbo.views import EventDetailView urlpatter

Re: urls prob

2014-07-18 Thread ngangsia akumbo
i dont get you well -- 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

Re: urls prob

2014-07-18 Thread ngangsia akumbo
i will check again thanks , let me check again On Friday, July 18, 2014 4:21:52 PM UTC+1, monoBOT monoBOT wrote: > > The url "env/" is not validatingbecause the *re *is expecting > > r'^(?P[-_\w]+)/event/$' > > and not > > r'^/event/$' > > you have to check your *re *skills XD > > > 2014-07-18 1

Re: urls prob

2014-07-18 Thread monoBOT
The url "env/" is not validatingbecause the *re *is expecting r'^(?P[-_\w]+)/event/$' and not r'^/event/$' you have to check your *re *skills XD 2014-07-18 14:54 GMT+01:00 ngangsia akumbo : > It is still breaking > > > On Friday, July 18, 2014 1:56:38 PM UTC+1, Sergiy Khohlov wrote: > >> try

Re: urls prob

2014-07-18 Thread Tom Evans
On Fri, Jul 18, 2014 at 2:54 PM, ngangsia akumbo wrote: > > It is still breaking > You should explain precisely what is still breaking. "Still breaking" doesn't tells anyone who is helping you what is going wrong. In earlier emails, you are going to the URL "/event/", but in your urls.py you spe

Re: urls prob

2014-07-18 Thread ngangsia akumbo
This is what is happening i have created an event and added it to my admin. I have added a content with title event and one with title news url(r'^$', EventListView.as_view(), name='event'), The url above will list the event with order_by date and title url(r'^(?P[-_\w]+)/event/$', Event

Re: urls prob

2014-07-18 Thread ngangsia akumbo
I solved the problem the error was coming from the views.py the list views did not define the model thanks for the support On Friday, July 18, 2014 4:40:08 PM UTC+1, ngangsia akumbo wrote: > > This is what is happening > > i have created an event and added it to my admin. > I have added a cont

Recommendation/alternative for multi-tenancy under django

2014-07-18 Thread Subodh Nijsure
This is the first time I am trying to implement multi-tenant setup under django and hence the question. Problem/Setup - There are two companies signed up for service from portal I am developing say CompanyA, CompanyB. - Each user with this setup is identified by unique email address, users login

Re: Dynamic Base Template

2014-07-18 Thread Alexandre Matos
Thank you! An assignment tag solved my issue perfectly! Em quinta-feira, 17 de julho de 2014 11h59min26s UTC-3, cmawe...@gmail.com escreveu: > > You could make a custom assignment_tag like: {% get_datasets_for_user user > as dataset %} > > > https://docs.djangoproject.com/en/dev/howto/custom-te

Re: Alternative to django-registration (unmaintaned since September 2013)

2014-07-18 Thread Russell Keith-Magee
On Fri, Jul 18, 2014 at 8:31 PM, Santiago L wrote: > Hi, > > Some weeks ago I noticed that django-registration is not longer maintained > by > its creator: > > quoting https://bitbucket.org/ubernostrum/django-registration/wiki/Home > > django-registration > > I stepped down as maintainer of this

Re: Alternative to django-registration (unmaintaned since September 2013)

2014-07-18 Thread Ovnicraft
On Fri, Jul 18, 2014 at 7:31 AM, Santiago L wrote: > Hi, > > Some weeks ago I noticed that django-registration is not longer maintained > by > its creator: > > quoting https://bitbucket.org/ubernostrum/django-registration/wiki/Home > > django-registration > > I stepped down as maintainer of this

Re: Recommendation/alternative for multi-tenancy under django

2014-07-18 Thread Mike Dewhirst
On 19/07/2014 3:51 AM, Subodh Nijsure wrote: This is the first time I am trying to implement multi-tenant setup under django and hence the question. Problem/Setup - There are two companies signed up for service from portal I am developing say CompanyA, CompanyB. - Each user with this setup is

Re: Google App Engine / Django / Django-nonrel Best Practices

2014-07-18 Thread Adam Simon
Thanks Russ. I don't mean to answer my own question, but this is what I found to date: There is a website: http://django-nonrel.org I found that seems to be pretty recent even though for some reason it has a copyright of 2011 There's also an installation guide at: https://media.readthedocs.

Re: Django Talent Needed!

2014-07-18 Thread Sagar Chalise
Hello Shawn, I am from Kathmandu, Nepal. I have worked on django for more than 2 years and am currently available. You can view my linkedin profile . I would be interested to work with you after knowing more about what you require. Sagar Chalise On We

Re: Final python/django engineer needed!

2014-07-18 Thread Sagar Chalise
Hello Jace, I am from Kathmandu, Nepal. I have worked on django for more than 2 years and am currently available. You can view my linkedin profile . I would be interested to work with you after knowing more about what you require. Sagar Chalise On Thur

Re: Recommendation/alternative for multi-tenancy under django

2014-07-18 Thread carlos
Hi, Subodh right now i find information for multi-tenant project in django and see this app, i never used only i read information for the future project. https://github.com/bernardopires/django-tenant-schemas maybe help you. Cheers On Fri, Jul 18, 2014 at 6:56 PM, Mike Dewhirst wrote: > On 1