Re: Should I use 'locals()' or create a dictionary with the template variables? What is better?

2014-07-17 Thread Russell Keith-Magee
On Fri, Jul 18, 2014 at 4:45 AM, Neto wrote: > Using 'locals ()' would slow page loading? What is better? > Using locals() as template context might give you a *slight* slowdown in template rendering (since you'll have lots of context variables that you won't be using). However, that effect woul

Django and Python-Ldap with Active Directory Question

2014-07-17 Thread G Z
I'm using pure python-ldap to authenticate because django-auth-ldap doesn't work for some reason no matter how i tried it. settings.py AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', 'holon.backend.ActiveDirectoryBackend', ) backend.py import ldap from portal.

Re: Django Admin DB Error only when trying to delete an inserted record delete.

2014-07-17 Thread G Z
Thanks, I am unable to solve this issue but im running it down. On Thursday, July 17, 2014 10:46:08 AM UTC-6, Michiel Overtoom wrote: > > > On Jul 16, 2014, at 23:14, G Z wrote: > > > So I'm still running in to issues using a prexisting database, ive > worked out almost all of the issues >

Re: Errors Using Pip In Powershell to Download Django

2014-07-17 Thread Malik Rumi
Thanks to both of you. I had a corrupt pip cache. Solution here: http://stackoverflow.com/questions/9510474/removing-pips-cache On Thursday, July 17, 2014 10:20:51 AM UTC-5, cmawe...@gmail.com wrote: > > Yesterday I tried to get the 1.7rc1 and got the error 'file contains no >> section headers'.

Should I use 'locals()' or create a dictionary with the template variables? What is better?

2014-07-17 Thread Neto
Using 'locals ()' would slow page loading? What is better? -- 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

Find link in a "dynamic" page

2014-07-17 Thread Carlos Perche
Hello guys, could someone help me with this ... I am needing to find the link Ext # http://docs.sencha.com/ext/5.0.0/apidocs/source/Focusable.html-util-Focusable starting the url http://docs.sencha.com/ext/5.0.0/apidocs/ The problem is that when having to recover the contents of the page with

Re: Django Admin DB Error only when trying to delete an inserted record delete.

2014-07-17 Thread Michiel Overtoom
On Jul 16, 2014, at 23:14, G Z wrote: > So I'm still running in to issues using a prexisting database, ive worked out > almost all of the issues I'm following your posts with interest, since I will be writing a Django app soon which also has to use a pre-existing database. Greetings, -- "Yo

Re: Errors Using Pip In Powershell to Download Django

2014-07-17 Thread cmawebsite
> > Yesterday I tried to get the 1.7rc1 and got the error 'file contains no > section headers'. I assumed this was because it was a tarball, and after > looking around gave up for the night. > Tonight I decided to just get 1.6.5. But to my surprise, I got the same > error. I have no control ove

idea: deploy static files on github pages CDN

2014-07-17 Thread cmawebsite
I had an idea today that I wanted to share, if anyone finds it helpful or has feedback. ./manage.py collectstatic cd $STATIC_ROOT rm -rf .git/ # optionally don't keep history git init . git add . git commit -m"static files" git push -f g...@github.com:username/yourrepo master:gh-pages then set

Re: Django Template Dir Question

2014-07-17 Thread Tom Evans
On Wed, Jul 16, 2014 at 9:37 PM, G Z wrote: > My project structure goes > > holon > > -holon > -settings.py > -etc > > -portal -App name > -static > css / images > -templates >-main site template files > views.py > url

Re: Dynamic Base Template

2014-07-17 Thread cmawebsite
You could make a custom assignment_tag like: {% get_datasets_for_user user as dataset %} https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#assignment-tags -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Dynamic Base Template

2014-07-17 Thread Alexandre Matos
Hi! I am working on my first Django project. I read its entire documentation and searched both this group and stackoverflow for an answer to my question and I think what I want can't be achieved, so I'm just posting this hoping to be wrong and missing something. I have an index.html template,

Django REST framework 3 Kickstarter.

2014-07-17 Thread Tom Christie
Hi all, I've just launched a Kickstarter project aimed at funding development for a major new version of Django REST framework. There's a whole bunch of really exciting stuff that I'd like to be able to work on, including: - Faster, simpler and easier-to-use serializers. - An alternative

Final python/django engineer needed!

2014-07-17 Thread Jace Wieser
Hi everyone! I still have one final opening for a python engineer with 2+ years of experience for my funded startup in Fairfax, VA. Working remotely is now possible and I have a $2,500 referral fee available. Any and all help is greatly appreciated! http://www.indeed.com/job/software-engineer-

Re: Django Talent Needed!

2014-07-17 Thread Agnese Camellini
Hello shawn. I'm a freelance developer in italy. My website is joy.indivia.net and i have experiences in django even if my community ( www.indivia.net) doesn't support it so i cannot show you any work done with it.. However i'm searching a job now and i can work as a freelance and even fulltime. Le

Re: Django 1.7c1 app without models data migrations

2014-07-17 Thread aRkadeFR
After some tests, the problem came from the lack of the file models.py The __init__ is there and is ok. If I run without models.py file: python3 manage.py migrations --empty python3 manage.py migrate -> that doesn't take into account my But if I run the same commands with models.py (even empt

Re: Django Talent Needed!

2014-07-17 Thread Subhish Nair
*Hello Shawn,* *I represent SparkSupport Infotech Pvt Ltd.We are a young talented team of 20 Python/Django engineers with wide experience in working various python projects for US companies.* *Can you please connect me on Linkedin : https://www.linkedin.com/in/subhishn* *Or Skype : spark.subhi

Re: how to fix the OSerror[Errno 5] input/output error when deploy django project with uwsgi and nginx?

2014-07-17 Thread jie . li0117
Hi,did you fix it? I've come to the same problem,and it is still unsolved. Can you share me something? On Friday, March 21, 2014 9:19:37 AM UTC+8, jie.l...@gmail.com wrote: > > My enviorent is : UBUNTU 12.04, django 1.6.1 python 3.3.4 nginx 1.4.7 and > uwsgi 2.0.2 The problem came when I registe

Re: Errors Using Pip In Powershell to Download Django

2014-07-17 Thread Sam Lai
Can you provide some console output so we can see what commands you're entering and what the actual output is? On 17 July 2014 04:06, Malik Rumi wrote: > Yesterday I tried to get the 1.7rc1 and got the error 'file contains no > section headers'. I assumed this was because it was a tarball, and af

Re: django template

2014-07-17 Thread ngangsia akumbo
Thanks On Wednesday, July 16, 2014 3:12:51 PM UTC+1, Andréas Kühne wrote: > > Hi, > > Sure, but I won't always be able to answer :-) > > Regards, > > Andréas > > > 2014-07-16 13:49 GMT+02:00 ngangsia akumbo >: > >> Thanks bro for this inside , can i always contact u personally if i had >>> so

Re: django template

2014-07-17 Thread ngangsia akumbo
Thanks On Wednesday, July 16, 2014 3:12:51 PM UTC+1, Andréas Kühne wrote: > > Hi, > > Sure, but I won't always be able to answer :-) > > Regards, > > Andréas > > > 2014-07-16 13:49 GMT+02:00 ngangsia akumbo >: > >> Thanks bro for this inside , can i always contact u personally if i had >>> so

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

2014-07-17 Thread Russell Keith-Magee
On Sun, Jul 6, 2014 at 4:23 AM, Adam Simon wrote: > > > Hello, > > What is the status of Django-nonrel, it seems that there have been a few > changes recently on github, but not much overall news, especially on their > website? > The honest answer is "no idea". The original driving force behind