Re: A simple LinkedIn site with django

2012-10-08 Thread Sergiy Khohlov
Hardest task is write to the paper what you want. After this it is possible to prepare information what you want. I have few projects with a similar descriptions. The main problem for all is really simple : project creator can not write to paper (project requirements are better) . As

Re: Javascript encoding and python decoding and vice versa

2012-10-08 Thread Mike Dewhirst
On 9/10/2012 4:07pm, Laxmikant Gurnalkar wrote: Hi, Guys. Anybody knows to encrypt the content in javascript and decode it using python and vice versa. Not sure where you see the threat but if it is between the browser and the server then I think your server needs to provide https

Javascript encoding and python decoding and vice versa

2012-10-08 Thread Laxmikant Gurnalkar
Hi, Guys. Anybody knows to encrypt the content in javascript and decode it using python and vice versa. I am doing a high security data transfer. The things are showstopper to transferring data through javascript to the python. Is it possible to hide data or send data over web in that should not

-- Directory creation script is fruity --

2012-10-08 Thread Robert Steckroth
Hello Gang, while creating a simple loop to copy a directory structure, I encountered a strange error with os.path.join. In the loop below, only the first iteration of the loop will join the new_dir with no_base. After hours of research, I still cannot pin this one down. I have it working at the

A simple LinkedIn site with django

2012-10-08 Thread David Gomez
I have project in mind and I was thinking how hard is to create my project. Is going to be like a LinkedIn, but a simple one. How hard is to make a web application like this? And what is the hardest part? Thanks in advance -- You received this message because you are subscribed to the Google

Re: New Project 403 Forbidden Error

2012-10-08 Thread Bestrafung
I could probably set it up outside of cPanel but ultimately once I get it working and learn it I want to set it up for multiple accounts. Better to pound my head against the bugs and figure them out now, I think. I've noticed that if I run the built-in development web server the project seems

Re: Inlines defined before use?

2012-10-08 Thread Lachlan Musicman
On Sat, Oct 6, 2012 at 4:29 AM, Bill Freeman wrote: > There are a few special cases in which Django works hard to allow you > to specify a string that will be looked up later. And you can use > names in function and method definitions that will be defined by the > time the

Re: Managers, Queryset, inheritance and polymorphism

2012-10-08 Thread Lachlan Musicman
On Sat, Oct 6, 2012 at 3:14 AM, Amirouche wrote: > Héllo, > > I got a problem with manager, some of you may already know it, I try my best > to like them, if anyone can explain me the purpose of their existence I will > be so much grateful :) > > Like I said, I try

URL disâtching

2012-10-08 Thread Miguel Blauwbloeme
I am new to django and have problems with url dispatching. I have a webpage (a global one) which gives an overview of some fields in a mongodb (using pymongo). Some of those fields are name, first name, address, country. I want to set a href on name to show the details of that person. I want to

Django setup with elsatic beanstalk

2012-10-08 Thread shlomi oberman
I'm trying without succes to setup a simple application using django with elastic beanstalk from my windows machine. Does anyone have any expreience with this? I am currently getting the following error from the EB console: "Your WSGIPath refers to a file that does not exist." -- You received

configure settings.py to load image

2012-10-08 Thread luca72
Hello i have a project saved in my usb stick. the image that i need to use are saved in /media/5468-1AF4/Django/mysite/static/ (i'm under linux) can you help me to configure the setting.py in the way that im my template i can use in css bacground-image :url(image.jpg), actually i try to set

Re: when is a Context Processor called?

2012-10-08 Thread Kurtis Mullins
https://docs.djangoproject.com/en/dev/topics/http/sessions/ On Mon, Oct 8, 2012 at 10:28 AM, Stefano T wrote: > Ok. > so basically they are called before the rendering of a template. > > How can i have an object stored in the request object (if possible)? > >

Re: Problem with URL configuration - cannot use absolute URLs in my case

2012-10-08 Thread Ramiro Morales
On Sat, Oct 6, 2012 at 10:25 PM, Rohit Banga wrote: > > So how do I code my url conf / view / template in order to be independent of > mywebsite name. > Is there anything wrong with the way I am wiring up my application. Take a look at the docs for: URL reversing:

template for "Pagination for admin inlines" snippet

2012-10-08 Thread Axel Rau
Hi, anybody got a template working for this https://gist.github.com/559911 ? I have no idea how to fiddle it into the admin template system. Thanks, Axel --- PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius -- You received this message because you are subscribed to

Re: when is a Context Processor called?

2012-10-08 Thread Stefano T
Ok. so basically they are called before the rendering of a template. How can i have an object stored in the request object (if possible)? Something that lets me to do, in a view: request.user_profile... On Sunday, October 7, 2012 8:37:01 PM UTC+2, Daniel Roseman wrote: > > On Sunday, 7 October

Re: Django Internal Server Error

2012-10-08 Thread Mohamadreza Rezaei
Hi my connect moderate google groups, thanks you for report my errors in my page blog site net gateway, what way I able to Validate your requsted? 2012/10/8, Wnt2bsleepin : > I looked in the log files for apache and it came up with the following. > > File

Re: Value Error during 1.2 to 1.4 conversion

2012-10-08 Thread Marek Brzóska
Check your urls. For me it looks like you wanted to give name to the url but forgot use keyword argument. For example you could be having: url(r"^#", "your_view", "name_of_the_view") instead of url(r"^#", "your_view", name="name_of_the_view") -- Marek Brzóska brzoskama...@gmail.com -- You

Re: Django Internal Server Error

2012-10-08 Thread Cal Leeming [Simplicity Media Ltd]
Here is the test I used to determine if the import was working correctly. Can you do the same as below and paste the result?? foxx@web1/slice10173160 [~] > python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more

Re: Django Internal Server Error

2012-10-08 Thread Cal Leeming [Simplicity Media Ltd]
It's possible your django version installed is either not compatible with the project you are using - or the installation may be corrupted somehow. Personally, I've never encountered this problem before using WSGI (normally it *just works*). A quick search on Google shows this;

Re: Disabling CSRF is not working.

2012-10-08 Thread Kurtis Mullins
Another solution would be to simply work with the CSRF Protection. It's not really that hard, even when using Javascript. There's even a good, simple example of using JQuery with it in the official documentation. On Sun, Oct 7, 2012 at 3:41 AM, Laxmikant Gurnalkar < laxmikant.gurnal...@gmail.com>