url probs

2014-07-19 Thread ngangsia akumbo
Good After Django Users I still have problems with urls. Please somebody should take a carful look at this urls urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), #new urls url(r'^$', PostListView.as_view(), name='news-list'), url(r'^(?P[-_\w]+)/$', PostDetailV

url probs

2014-07-19 Thread ngangsia akumbo
Good After Django Users I still have problems with urls. Please somebody should take a carful look at this urls urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), #new urls url(r'^$', PostListView.as_view(), name='news-list'), url(r'^(?P[-_\w]+)/$', PostDetailV

Re: Find link in a "dynamic" page

2014-07-19 Thread Bill Freeman
Are you keeping the cookies and returning them is subsequent requests? (Particularly the session cookie, but all will work as well - if this is the problem.) On Thu, Jul 17, 2014 at 1:50 PM, Carlos Perche wrote: > Hello guys, could someone help me with this ... > > I am needing to find the link

Re: url probs

2014-07-19 Thread monoBOT
The urls are a first come first served ... that is the first url that match is served On your url file there are 4 urls that match on the same pattern. I recommend you to write urls that are impossible to match against each other, and if some url is able to match others write that one in the last

Not able to login to django website

2014-07-19 Thread logesh j
i have changed the settings.py to connect to MySQL and syndb. It looked everything perfect and also i created the username and password. Still i am getting the error as OperationalError at /admin/ no such table: auth_user Request Method:POSTRequest URL:http://127.0.0.1:8000/admin/Django Versi

Setuptools - installation issue with Python 3.4.1

2014-07-19 Thread Giannis Antoniou
I have very limited knowledge of Python and my intention is to developed a simple web site by using Django, because the performance of the web application is an issue. However, I have some difficulties to install it. I downloaded and installed Python 3.4.1 on Windows 7 (for development purposes)

Introducing myself and my first question

2014-07-19 Thread Martin Torre Castro
Hello, my name is Martin and I'm a computer engineer from Spain. I'm going to start a new project with a colleague and I decided to use Django because we searched for free opensource tools and I'm in love with Python. We have made a couple of tutorials (the official one and "Tango with django"

Re: Advanced SQL Question

2014-07-19 Thread Martin Torre Castro
I suppose you can always switch to the raw SQL queries instead of using Django's ORM. You have to type more, but it will be more efficient if you know how to code SQL for your DB. On Thursday, 19 June 2014 23:49:52 UTC+2, G Z wrote: > > I have a multi-level database that uses concatenated fore

Newbie: Complete environment setup(virtualenv, pip, eclipse, git...)

2014-07-19 Thread Martin Torre Castro
Hello, my name is Martin and I'm a computer engineer from Spain. I'm going to start a new project with a colleague and I decided to use Django because we searched for free opensource tools and I'm in love with Python. We have made a couple of tutorials (the official one and "Tango with django"

Re: Introducing myself and my first question

2014-07-19 Thread Edward Chen
Hi - I am kind of new myself, and I don't have all the answers to your questions, but here are some thoughts, and I could be wrong. 1. You can set up your virtualenv anywhere you like. The one I'm using right now is in ~/Envs/venv_for_my_project/ All you're doing with it is source/bin/activate.

I solved it...

2014-07-19 Thread Dan Bikle
Hello World again, I debugged my problem. The INSTALL file says this: " AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's site-packages directory " It should say this: " AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's site-packages di

import django fails, what should I look at?

2014-07-19 Thread Dan Bikle
Hello World, I'm curious about working with the dev-version of Django. I want to get skilled at using Django, Python 2.7.8, and virtualenv together. I see this page: https://github.com/django/django/blob/master/INSTALL I installed python and then virtualenv: d...@cen113.dan ~ $ which python

Re: Newbie: Complete environment setup(virtualenv, pip, eclipse, git...)

2014-07-19 Thread Thomas Lockhart
On 7/19/14 6:41 PM, Martin Torre Castro wrote: Hello, my name is Martin and I'm a computer engineer from Spain. I'm going to start a new project with a colleague and I decided to use Django because we searched for free opensource tools and I'm in love with Python. We have made a couple of tu

looking for a good tutorial for creating user with fb,tw,google login

2014-07-19 Thread Bussiere
I am looking for a good tutorial on how to log user with fb,tw, google and record them in db. I've tried python-social-auth and this tutorial but it's a pain and it's not recording user https://www.artandlogic.com/blog/2014/04/tutorial-adding-facebooktwittergoogle-authentication-to-a-django-appl

Re: looking for a good tutorial for creating user with fb,tw,google login

2014-07-19 Thread Frankline
Have you tried django-allauth? http://django-allauth.readthedocs.org/en/latest/ On Sun, Jul 20, 2014 at 6:25 AM, Bussiere wrote: > I am looking for a good tutorial on how to log user with fb,tw, google and > record them in db. > > I've tried python-social-auth and this tutorial but it's a pain

Re: looking for a good tutorial for creating user with fb,tw,google login

2014-07-19 Thread Muhammad M
Bussiere, I have used python-social-auth in one of my projects and it works great. If you are developing a Python-based web app (irrespective of what framework you are using - Django, Flask, etc.), it's the best OAuth package out there, at least in my opinion. It's hard to guess what may be the

advice from experts

2014-07-19 Thread Eddilbert Macharia
hi guys i have created a web application and its my first one,so i luck the experience in the finer details requirement. what are some of the considerations i shld keep in mind before i move the application from development to production. here is one i realised recently, locking out a resource