Re: Migrating back-end from flask to django

2018-11-03 Thread Igor Nascimento
ave to put the max_length. The NULL statement is equal to say default=None in Django models. Anytime, Igor Em sáb, 3 de nov de 2018 às 09:39, oganga chantal escreveu: > need help with creating models for my django app, > > -- > You received this message because you are subscribe

Disconnect WS on server shutdown

2018-02-26 Thread Igor Partola
I am running into an issue with one of my applications that is running on Heroku. Basically during a deploy, the old daphne process gets shut down and a new one takes over. The problem with this is that some users are still connected to the old daphne process and are still members of various

Re: LoginRequiredMixin and UserPassesTestMixin login_url clash

2016-12-15 Thread Igor Belo
('website:account-detail') Not an elegant solution at all but solved my problem. Wondering if it worths to open a pull request. Well, hope it helps someone in the future. On Thursday, December 15, 2016 at 3:53:38 PM UTC-2, Igor Belo wrote: > > Let me describe my scenario. > > I got some

LoginRequiredMixin and UserPassesTestMixin login_url clash

2016-12-15 Thread Igor Belo
Let me describe my scenario. I got some views that I want to check two conditions before render: 1. user is logged in 2. user fulfilled account details form If user is not logged in -> redirect to login page. If user have not fulfilled its account details -> redirect to the form page. I'm

Re: Error running Django tutorial

2016-02-28 Thread Igor Makarov
Mike, do you have the server restarted? As for me, the shell window says: Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. воскресенье, 28 февраля 2016 г., 18:15:24 UTC+3 пользователь Mike Kipling написал: > > Here are the two urls.py files: > >

[no subject]

2014-05-03 Thread Igor Korot
Hi, ALL, This is my first official post here so be gentle... ;-) I'm trying to make an application based on the following db structure: table 1: id - primary key, fname char(40), lname char(40) table 2: id - primary key, position char(20) table 3: table1_id, table2_id - foreign key Now, from

Re: JSON serialization

2014-01-18 Thread Igor Korot
pplication/javascript". > Your json data should be in the response How do I do that? Could you give me some code, please? Or at least point to the docs... Thank you. > > On 18 Jan 2014 09:16, "Igor Korot" <ikoro...@gmail.com> wrote: > > Hi, guys, > > On Sa

Re: JSON serialization

2014-01-18 Thread Igor Korot
I still don't see my data in the jQWidget control (jqxGrid)... Anybody familiar with this library? Thank you. > >> >> On 18/01/2014 4:53 pm, "Igor Korot" <ikoro...@gmail.com> wrote: >>> >>> Hi, ALL, >>> I'd like someone to help me understa

JSON serialization

2014-01-17 Thread Igor Korot
Hi, ALL, I'd like someone to help me understand this situation. Looking at the page: https://docs.djangoproject.com/en/dev/topics/serialization/ the part which says "Serialization formats->JSON" there is an example of how the data would be serialized. The sample uses the symbol "double

Server return error 304

2014-01-16 Thread Igor Korot
Hi, ALL, I'm getting an error 304 trying to locate the JavaScript files on my dev machine. Here's what I did. I created a project and then created an application according to the tutorial. Looking at https://docs.djangoproject.com/en/1.5/howto/static-files/ I made sure that "STATIC" environment

Re: Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
Hi, On Fri, Jan 10, 2014 at 1:34 AM, trojactory <aru...@gmail.com> wrote: > Hi Igor, > > You can solve this in three ways: > > 1. Return a JSON object from Django as a string using dumps: This will keep > your HTML file unchanged. The JSON file might not be exactl

Re: Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
Hi, Mario, On Fri, Jan 10, 2014 at 1:25 AM, Mario Gudelj <mario.gud...@gmail.com> wrote: > It's hard to tell what the issue is from what you've posted, Igor. Have you > looked at Chrome inspector to see if there are any js errors in it? Or have > you tried inspecting the page

Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
Hi, ALL, I have a little problem. I'm trying to connect the Django based application with jQuery/jQWidgets (specifically jqxGrid). Here's what I've done: This is my views.py file: [code] def displayusbtable(request): usb_list = USB.objects.all() return

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
Tundebabzy, I understand that. But at the same time it should make some sense, otherwise what is the point of having this label (__unicode__() function), right? Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said th

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
ot;? Because as far as I understand those 2 fields will be displayed as one. Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said that I need to create __unicode__() function to > properly display the results of my mod

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
following tutorial, I don't see a database text when displaying the records. Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said that I need to create __unicode__() function to > properly display the results of my

Question about the __unicode__()

2014-01-08 Thread Igor Korot
Hi, ALL, In the tutorial it is said that I need to create __unicode__() function to properly display the results of my model. Unfortunately the tutorial is using only one text field and everywhere I looked people are using something related, i.e. first_name+last_name and so they can create a

Incorporate jQuery grid with django

2014-01-07 Thread Igor Korot
Hi, ALL, This is my first post to this group so please bear with me for a sec. I successfully installed django and followed the tutorial to create a project and an application. It connects to my DB (mySQL) and everything is good. Now in the part 3 of the tutorial I need to create a view. I did

Django doesn't close connections to Oracle database.

2013-10-27 Thread Igor Dakić
connections, but it doesn't close connection after getting result, yet leave it open and inactive. That's not the case with django development server, which handle those connections properly. Anyone have idea where the problem is? Thanks in advance, Igor. -- You received this message because you

get Django url content with urllib2

2011-08-11 Thread Igor Nemilentsev
Hello everyone. I try: content = urllib2.urlopen('http://localhost:8080/').read() from inside some Django view(function) and http://localhost:8080/ is same Django server. This command do not give me any answer but hang on. But if url is foreign it is working. Is there some cycle problem? Is it

Re: Django 1.3 - Question about static files

2011-03-26 Thread Igor Nemilentsev
On 26-03-2011, Sandro Dutra wrote: >Hello everyone! >I'm using Python 2.7.x with Django 1.3 and I've some questions about >the new way to set the static files for the dev server. >abspath = lambda *p: os.path.abspath(os.path.join(*p)) >PROJECT_ROOT =

Re: help to finish my 1st Django app.

2011-03-15 Thread Igor Ischenko
context. > Look at part 3 of the tutorial about half way down. They add the > "latest_poll_list" object to the Context that gets passed to your > template. Try doing that. > > On Mar 14, 4:26 pm, Rogelio Gonzalez <cds.oficia...@gmail.com> wrote: > >

request in model

2011-03-14 Thread Igor Nemilentsev
I am new in Django. I am looking for a solution for my problem. I want to have a base model class inheriting all other model classes from that class. In the base model class I want to check some permissions for users. So, need pass request to model class so that to have

Re: help to finish my 1st Django app.

2011-03-14 Thread Igor Ischenko
bscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.goo

Re: How to use CreateView?

2011-03-12 Thread Igor Ischenko
Hi hassan, try to add {% csrf_token %} somewhere inside form in your template On 11 мар, 23:41, hassan wrote: > Hi, > > I am testing django 1.3 class based generic views. I have a model like > this one: > > class Book(models.Model): >     name =

Re: Access to request from tag

2010-12-26 Thread Igor Artamonov
BTW, thank you very much. I googled a lot, and decided that easiest way is replace all my "Context(" with "RequestContext(request," and use official way. That works :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Access to request from tag

2010-12-26 Thread Igor Artamonov
Yes, thank you Pete, but i know about this way. And it requires to use RequestContext class on _every_ view. I have too much of them, and also it makes boilerplate code. So, i'm looking for less complicated way. Maybe there is exist some way to use RequestContext by default? -- You received

Access to request from tag

2010-12-26 Thread Igor Artamonov
Hi I need to make an custom tag, for auth checks, based on data stored on cookies. Like a: {% if_loggen_in %} Some message for logged in only user {% end_if_logged_in %} btw, i don't know how to get access to request object in my tag. I know that there is 'inclusion tags', but as you see there

Double slash in URL

2010-12-09 Thread Igor Rubinovich
}\ ([^ ]+) HTTP/ RewriteRule ^(.*)$ django.fcgi/%1 [QSA,L] but am getting it wrong obviously., There's no condition, I just always want to keep them. Thanks for ideas. Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

plupload + django

2010-07-23 Thread Igor Rubinovich
on the server but rather send them directly to picasaweb. Thanks for any tips, Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group,

Re: Resize uploaded file file with PIL

2010-05-26 Thread Igor Rubinovich
Dejan - I think this was what I was looking for (and probably should have been able to figure it out myself :)) Thanks! Are you sure there's no problem with binary or other encodings? Thanks, Igor On May 26, 10:15 am, Dejan Noveski <dr.m...@gmail.com> wrote: > Why don't you try

Re: Resize uploaded file file with PIL

2010-05-26 Thread Igor Rubinovich
dimensions just before that. On May 26, 9:47 am, Kenneth Gonsalves <law...@au-kbc.org> wrote: > On Wednesday 26 May 2010 13:07:50 Igor Rubinovich wrote: > > > This probably needs more explanation, otherwise I'll keep misleading > > people into answering some question oth

Re: Resize uploaded file file with PIL

2010-05-26 Thread Igor Rubinovich
the form. Another detail - I use ModelForm to reduce writing, so basically everything is automated by Django. So... now with this detail - would anyone have a suggestion? Thanks, Igor On May 26, 9:00 am, Kenneth Gonsalves <law...@au-kbc.org> wrote: > On Wednesday 26 May 2010 12:1

Re: Resize uploaded file file with PIL

2010-05-26 Thread Igor Rubinovich
Thanks a lot for this :) But I really want to do what I said I want to do. Does anyone has a suggestion? On May 26, 12:23 am, Gonzalo Delgado <gonzalo...@gmail.com> wrote: > El 25/05/10 19:12, Igor Rubinovich escribi : > > > > > > > I want to resize the uploaded

Resize uploaded file file with PIL

2010-05-25 Thread Igor Rubinovich
ance=photo) photo_form.save() i.e. I'd like to put it into the form resized, and preferably without a temporary file. What I don't know is what FILES object really is so it's hard to figure out what's the right way to achieve this. Any ideas? Thanks, Igor -- You received this message because you are

Re: dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
I should add that I still have the problem... On Mar 17, 6:24 pm, Igor Ganapolsky <eazy...@gmail.com> wrote: > I have since then moved my javascript file to a site_media/scripts > directory.  My project structure looks like this: > webservice/ >  |-- first/ &

Re: dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
Roseman <dan...@roseman.org.uk> wrote: > On Mar 17, 9:30 pm, Igor Ganapolsky <eazy...@gmail.com> wrote: > > > Hi, > > I am running a django dev server.  I have a template where I'm calling > > a javascript function from a an external .js file (residing in the > >

dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
Hi, I am running a django dev server. I have a template where I'm calling a javascript function from a an external .js file (residing in the same directory as the template). However, I get the following error: "ReferenceError: al is not defined". Nevertheless, when I just open this html page

Django comments moderation.py not rendering context

2010-02-24 Thread Igor Ganapolsky
I am utilizing django.contrib.comments to create an email message for each comment posted on my site. In moderation.py there is a method - def email(self, comment, content_object, request): """ Send email notification of a new comment to site staff when email notifications

ExtendableModel

2010-01-26 Thread Igor Rubinovich
is it (if at all) possible to still use the admin interface with this kind of architecture? The code is below - thanks for any comments! Thanks, Igor from django.db import models from django.contrib.contenttypes import generic from

Re: Model Field Subclass

2010-01-25 Thread Igor Rubinovich
an instance of your "UserProfile" model, but > some other model (e.g.; the pinax Profile app's Profile).  That Profile model > doesn't have your modified field. > > Because otherwise, I'd expect your original approach to work. > > Bill > > On Mon, Jan 25, 2010 at 9

Re: Model Field Subclass

2010-01-25 Thread Igor
self.storage.thumbnail_url(self.name) thumbnail_url = property(_get_thumbnail_url) class RemoteImageField(models.ImageField): attr_class = RemoteImageFile Then, p.thumbnail_url will work along with any standard ImageFile properties. Thanks, Igor On Jan 25, 2:12 am, Igor <igor.rubinov...@gmail.

Re: Model Field Subclass

2010-01-25 Thread Igor
(self.name) thumbnail_url = property(_get_thumbnail_url) class RemoteImageField(models.ImageField): attr_class = RemoteImageFile Then, p.thumbnail_url will work along with any standard ImageFile properties. Thanks, Igor On Jan 25, 2:12 am, Igor <igor.rubinov...@gmail.com> wrote

Model Field Subclass

2010-01-24 Thread Igor
function (getting the profile via user.get_profile()), it is of ImageField type. Any ideas why this is happening and what can be done? Thanks a lot in advance, Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Remove items from queryset?

2010-01-23 Thread Igor
Bill, This is excellent! The only problem is whether it would be limited "physically" by the possible maximum number of characters in an SQL query? Or, maybe to fix it it somehow makes sense to .exclude AFTER evaluation of the query? Thanks for your ideas! - Igor On Jan 22, 6:5

Re: Remove items from queryset?

2010-01-22 Thread Igor
results = results | dirs.filter(id=d.id) # This is not efficient at all Thanks, Igor On Jan 22, 5:14 pm, Bill Freeman <ke1g...@gmail.com> wrote: > On Fri, Jan 22, 2010 at 10:22 AM, Igor <igor.rubinov...@gmail.com> wrote: > > I would not like to rely on fieldname__regex becau

Re: Remove items from queryset?

2010-01-22 Thread Igor
couldn't get it to work. Same with binary set operations - '&' and '|' work but '-' doesn't and '-' would really help... any more ideas maybe? Thanks, Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Remove items from queryset?

2010-01-22 Thread Igor
was not able to find a way to remove items from a QuerySet. Thanks in advance Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group,

Re: Design Question - Extending a model

2010-01-11 Thread Igor
hem. :) > > -Ethan > > [1]http://docs.djangoproject.com/en/dev/topics/db/models/#abstract-base-... > [2]http://www.djangoproject.com/documentation/models/generic_relations/ > > On Mon, Jan 11, 2010 at 9:24 AM, Igor <igor.rubinov...@gmail.com> wrote: > > Hi all, > >

Design Question - Extending a model

2010-01-11 Thread Igor
opinions. Thanks, Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For mo

Re: Inline Admin and ForeignKey

2010-01-11 Thread Igor
On Jan 11, 12:43 am, Igor <igor.rubinov...@gmail.com> wrote: > > > > > Hi, > > > I have a blog model and would like to be able to add an arbitrary > > number of event dates to it (i.e. turn a blog post into an event > > announcement). For that I

Inline Admin and ForeignKey

2010-01-10 Thread Igor
Hi, I have a blog model and would like to be able to add an arbitrary number of event dates to it (i.e. turn a blog post into an event announcement). For that I use class Event(models.Model): entry = models.ForeignKey(Entry) begin_date =

.mo file is empty - please help

2009-11-24 Thread Igor
are all newbie troubles. Thanks, Igor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegr

Re: Problem with serving static files

2009-11-18 Thread igor
>>> urls.py: >>> urlpatterns = patterns('', >>> (r'^polls/', include('mysite.polls.urls')), >>> (r'^site_media/(?P.*)$', 'django.views.static.serve', >>> {'document_root': '/mysite/media/'}), >>> ) Since I always start Django in its "root" directory, I put something like:

Re: Psyco

2009-08-13 Thread Igor Sobreira
Once I have the app stable and everything I'll > write some benchmarking for it and I'll run some tests without psyco as > well. This will probably take quite a while though. > Filesystem cache should work. Not as fast as memcached (of course), but I would certainly try it. Good luck. --

Re: Psyco

2009-08-13 Thread Igor Sobreira
nd have > performance issues... Maybe you should cache everything possible before trying psyco. But I'm curious about Psyco improvements in Django too. Let us know if you get any speed improvements. -- Igor Sobreira www.igorsobreira.com www.smartnutstechnology.com --~--~-~--~~---

Re: request.user objects in base.html

2009-01-14 Thread Igor Sobreira
tag for it. > Hi, You need this template context processor [1], witch is there by default. And you need to use RequestContext in your views too [2]. [1] http://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processors-auth [2] http://docs.djangoproject.com/en/dev/ref/t

Re: Recommendations on running Django on Leopard

2007-10-31 Thread Igor Kramer
You can see solution for psycopg2 here http://djangosearch.com/go-to-news/3588/ 2007/10/31, jeffself <[EMAIL PROTECTED]>: > > > I just installed Leopard last night and haven't gotten around to > installing Django yet. Should I use the default Python installation > or should I install Python

Re: Can't post attachment file in django test

2007-10-28 Thread Igor Kovalenko
> Is the value assigned to 'galleryfilename' really supposed to be an open > file object? Just based on the name it sounds more like it should be a > string containing the file name. Ok. Let's be clear. I have a form with 3 inputs: input type="text" name="name" textarea name="annotation" input

Can't post attachment file in django test

2007-10-27 Thread Igor Kovalenko
Hello! Could somebody tell what I'm doing wrong. I can't post a file in django test. My code is the following: path = os.getcwd() + '\\fotogallery\\testfotos\\gfoto1.jpg' gf = open(path) response = self.client.post('/fotogallery/addgallery/', {'name': 'New Gallery 1', 'annotation': 'This is New

Re: choosing ajax framework (for my projects) :)

2007-03-09 Thread Igor Guerrero
http://jquery.com/ On 3/9/07, ashwoods <[EMAIL PROTECTED]> wrote: > > > with so many choices, you dont really know where to start :( > > things like i would like to do. > > 1) update the contents of a div element with the content fading out > and in (news on the first page) > 2) select form

Re: Django and Eclipse Autocomplete NOT WORKING

2007-02-17 Thread Igor Guerrero
Apparently is a random error, I use the svn version, and with one project it works and with another don't, maybe is a PyDEV bug, but I don't know. On 2/15/07, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > > > Igor Guerrero wrote: > > > You must add the app dir and djang

Re: Django and Eclipse Autocomplete NOT WORKING

2007-02-12 Thread Igor Guerrero
You must add the app dir and django dir to the PYTHON_PATH env variable in the preferrence menu and rescan the PATH. On 2/12/07, johnny <[EMAIL PROTECTED]> wrote: > > > I am using PyDev and Eclipse. For some reason I can't get Eclipse to > do the autocomplete to work for python. > Eclipse

Re: New Vim files for Django

2007-01-31 Thread Igor Guerrero
On 1/31/07, Andrew Diederich <[EMAIL PROTECTED]> wrote: > Is the htmldjango.vim 1.05 version the right one to grab? i.e. are > they all supposed to do the same thing, and that one is the latest? > htmldjango.vim *0.1 *is for the

Re: Django Book Add Google or Yahoo Site Search

2007-01-21 Thread Igor Guerrero
It's very easy, Django guys don't need to add it. Just search like this in google: keyword site:http://www.djangobook.com/ On 1/20/07, johnny <[EMAIL PROTECTED]> wrote: > > > Is it possible to add Google or Yahoo Site Search to Djangobook.com? > > Thank You. > > > > > -- :::lxuser 391715:::

Re: Django + XUL

2006-12-25 Thread Igor Guerrero
http://igordevlog.blogspot.com/2006/12/xulxml-based-user-interface-language.html That works to me!!! Spanish... sorry(is my blog and it is in my native language) :D The Django developers have a plan of make a XUL-forms implementation in Django as an alternative to AJAX? A nice idea for the

Re: &&& EASY APPLE PIE RECIPES &&

2006-12-19 Thread Igor Guerrero
stop spam me On 12/19/06, AVANTI <[EMAIL PROTECTED]> wrote: > > > [image: Apple Pie Recipes] > > *Apple Pie Recipes > *http://freefoods.50webs.com/apple_pie/ > *Best Apple pie > Cooking recipes > easy to make > For best recipes please visit:

Re: +++ PHOTO ALBUM SOFTWRE FOR YOUR FAMILY AND FRIENDS +++

2006-12-19 Thread Igor Guerrero
http://images.google.com.ni/images?q=f-spot=es==firefox-a=org.debian:es-ES:unofficial=F3x=X=images=title On 12/19/06, Kaweeta <[EMAIL PROTECTED]> wrote: > > > *Best Photo Album Software* MAKE EASY PHOTO ALBUM > FOR YOUR > FAMILIY AND FRIENDS > > DOWNLOAD HERE

Re: <<< Download Free Windows XP >>>

2006-12-19 Thread Igor Guerrero
www.linux.com :D On 12/19/06, TANIA <[EMAIL PROTECTED]> wrote: > > > > Free Windows XP [image: Free Windows XP] > > > *Download > here > * >

Re: My second web site that use django, http://beyking.51boo.com

2006-12-14 Thread Igor Guerrero
Very cool, Just something apparently the rich editor FCK, dont have some languages, It can be fix by copying the en.js to es.js(for Spanish). It's Amazing how small are Django application!!! On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > This is a weblog application, source

Re: Guido's Google project uses Django

2006-12-02 Thread Igor Guerrero Fonseca
Wow, we are in the rigth place... Django is the best!!! El sáb, 02-12-2006 a las 17:17 +, psaletan escribió: > http://www.niallkennedy.com/blog/archives/2006/11/google-mondrian.html > > >From the article: > > Guido van Rossum unveiled his first Google project, Mondrian, tonight > during a

Re: runserver and static files

2006-11-19 Thread Igor Guerrero Fonseca
I finally found it, put this in your urls(this works to me!): (r'(^|/)css/(?P.*)$', 'django.views.static.serve', {'document_root': 'templates/css/', 'show_indexes': True}), Maybe you already do that... but just for another that have the same problem :-P --

Re: Question about :: root/django/trunk/django/middleware/admin.py

2006-11-18 Thread Igor Guerrero Fonseca
Like rubyonrails creator say's "PHP is the Devil"(and we agree) ;) El sáb, 18-11-2006 a las 16:16 +, Roboto escribió: > Session Tampered Error (Admin only) > > Bug solved! > > TURN OFF MOD_PHP!! > > > > -- http://igordevlog.blogspot.com/

Re: How about a real django installer?

2006-11-14 Thread igor Guerrero
Django is available in Debian GNU/Linux so with "apt get python-django" you got itOn 11/14/06, mamcxyz < [EMAIL PROTECTED]> wrote:After having troubles configuring a vps linux machine (and still triying with another) I wonder if exist a effort to build a properinstaller for django.When I say a

Re: Django site.

2006-11-13 Thread Igor Guerrero Fonseca
I dont see any problem with Django Site... El lun, 13-11-2006 a las 21:40 -0500, Gabriel Puliatti escribió: > Is the Django site down? > > I've been getting a (145) Connection timed out for a while now. > -- http://igordevlog.blogspot.com/

Re: runserver and static files

2006-11-13 Thread igor Guerrero
Django dont serve media files, that is the job of the production server but if yo are using the development server: you can try this:http://www.djangoproject.com/documentation/static_files/ On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote: Jay Parlar a écrit :> On 11/13/06, Jean-Luc <[EMAIL

Re: newbie question about using javascript to handle vars in template..

2006-11-12 Thread Igor Guerrero Fonseca
I think that you need to do some: render_to_response to that *.js file Because Django is not replacing the *.js Django is replacing the *.html file > in my template file, there's a var which i can use {{var1}} to get its > value. and if i put the code > > > document.write({{var1}}); > > >

Re: PySchool - Online Python Web Framework Workshop.

2006-11-07 Thread igor Guerrero
Ok, tell me one thing were is Debian?, you must there must be an option to select "other" Linux distribution.On 11/7/06, Spider < [EMAIL PROTECTED]> wrote:Question 2 says "select all that apply", but you have radio buttons not check boxes, so only one option can be selected.-- :::lxuser 391715:::

Re: Cutting output of flup's FastCGI server

2006-07-28 Thread Igor Goryachev
On 20 Jun 2006, PythonistL wrote: > But why do you use/prefer FastCGI to mod_python ? This doesn't require apache at all. In example we use nginx (http://sysoev.ru/nginx/) which serves our several projects. -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTEC

Re: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)

2005-12-10 Thread Igor Goryachev
ould you double check it? This it a problem of python2.4 package is installed, but not python2.4-dev. The last one contains development stuff and is required for building custom pythonic packages. -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]

Re: static media using development server?

2005-11-26 Thread Igor Goryachev
e dev server. The following string added into urls file helped: (r'^site_media/(?P.*)$', 'django.views.static.serve', \ {'document_root': '/home/igor/kultprosvet.ru/media/'}), Thank you very much! -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]

static media using development server?

2005-11-26 Thread Igor Goryachev
Hello everybody. Is it possible to serve static media using internal development webserver and options like that: MEDIA_ROOT = '/home/igor/kultprosvet.ru/media' MEDIA_URL = 'http://localhost:8080/site_media/' Any ideas? -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]

Re: Django Trac Spam

2005-11-24 Thread Igor Goryachev
t is a known problem of all wiki sites which permit anonymous users to modify the content pages. May be it would be a good temporary solution to add 'guest' user as it done on http://pysqlite.org/ to prevent spam? -- Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]

Re: wysiwyg editor

2005-09-14 Thread Igor Goryachieff
ok? Thanks. -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/

Re: extending admin interface

2005-08-31 Thread Igor Goryachieff
.djangoproject.com/documentation/model_api/#using-models for > full documentation (just added a couple of days ago!). The problem still exists. Any ideas? -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/

Re: extending admin interface

2005-08-30 Thread Igor Goryachieff
t.py", line 51, in get_sql_create for klass in mod._MODELS: AttributeError: 'module' object has no attribute '_MODELS' What is the mistake here? And what should be specified as module_name variable? Thank you. -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/

Re: extending admin interface

2005-08-30 Thread Igor Goryachieff
On Tue, Aug 30, 2005 at 02:21:23AM -0700, asrenzo wrote: > I guess this could help you : > > http://code.djangoproject.com/wiki/ModelInheritance This code doesn't work. Is it connected to ticket #122? -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/

Re: extending admin interface

2005-08-30 Thread Igor Goryachieff
On Tue, Aug 30, 2005 at 02:21:23AM -0700, asrenzo wrote: > I guess this could help you : > > http://code.djangoproject.com/wiki/ModelInheritance It seems to helpful for my purposes. Thanks! -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/

extending admin interface

2005-08-30 Thread Igor Goryachieff
! -- Igor Goryachieff Jabber: [EMAIL PROTECTED] http://goryachev.org/