Re: Update Services for Django

2012-09-26 Thread Ilian Iliev
Hi Tom, I believe here you can find how the pingback is implemented in zinnia but as you will see the example is not that simple. Consider if you need so complex one or just a get/post to specific URL will be enough. Greetings, Ilian Iliev -- eng. Ilian Iliev Web Software Developer Mobile

Re: Update Services for Django

2012-09-26 Thread Ilian Iliev
Iliev -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org Skype: eng.ilian_iliev On Wed, Sep 26, 2012 at 6:14 PM, Tom <t...@distracts.co.uk> wrote: > Hi All, > > Wordpress has something called Update Services, a feature that ping

Site stealing content

2012-09-20 Thread Ilian Iliev
. Please if anyone of you is also suffering from this content stealing send an DMCA notice or share if you have other ideas how we can stop this. Thanks in advance, Ilian Iliev -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org Skype: eng.ilian_iliev

Re: Visibility images/css from another directories

2012-05-17 Thread Ilian Iliev
to load them from separate directory instead from the project? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Thu, May 17, 2012 at 1:50 PM, Stone <phrac...@gmail.com> wrote: > Sorry, > now I have only the dev one fo

Re: Visibility images/css from another directories

2012-05-17 Thread Ilian Iliev
Hi, can you add some more details. Are you using web server or you have only the dev one for the moment. If you have web server what is it: Apache, NginX etc.? Best wishes, Ilian Iliev -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org

Re: serialization in Django

2012-03-06 Thread Ilian Iliev
If you are returning json it seems more proper to me to parse it using JavaScript. Why exactly do you return json but not a normal dict/object? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Mar 6, 2012 at 9:14 PM, angel <al

Re: Problem with my view or template (DRIVES ME NUTS)

2012-03-05 Thread Ilian Iliev
Hi, first of all use if request.POST, second pehaps you should pass the pk as part of the action URL. Do you get any errors or anything? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Mon, Mar 5, 2012 at 4:54 PM, leaks <tonykyri

Re: get_FOO_display

2011-12-13 Thread Ilian Iliev
Or you can change your field to IntegerField instead of CharField if you are planning to have only Integer values for the choices. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Dec 13, 2011 at 9:53 AM, Mike Dewhirst <

Re: Randomly clearing database tables

2011-10-04 Thread Ilian Iliev
Hi, this sounds like a bad configuration of the tests database. Is it possible that your test are clearing your database? Have you made some special test configuration? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Oct 4, 2011

Re: effective adding records in Django site admin

2011-10-04 Thread Ilian Iliev
Hi, you can always create custom admin page for your models by extending the default admin. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Oct 4, 2011 at 8:01 AM, veva...@yandex.ru <veva...@yandex.ru> wrote: > Goo

Re: Django Forms: Radio buttons and label displayed in the same line?

2011-10-01 Thread Ilian Iliev
I am glad I could help. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Sat, Oct 1, 2011 at 2:07 AM, voss <sasa1...@gmail.com> wrote: > Hi eng. Ilian Iliev, > > I visited your page ( > http://ilian.i-n-i.org/django

Re: __unicode__ and u'%s'?

2011-10-01 Thread Ilian Iliev
Hi, just ensure that your files and DB connection are using Unicode and return self.name will be enough. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Sat, Oct 1, 2011 at 10:11 AM, Victor Hooi <victorh...@gmail.com> wrote:

Re: Django Forms: Radio buttons and label displayed in the same line?

2011-09-30 Thread Ilian Iliev
Hi, you can do it with CSS styling, custom widget or custom HTML. Check this link for the custom HTML approach - http://ilian.i-n-i.org/django-forms-choicefield-and-custom-html-output/ This is not the best one but if you need it only for a single place go for it. -- eng. Ilian Iliev Web Software

Re: [Admin] Form Fields Rendering Completely Incorrectly

2011-09-30 Thread Ilian Iliev
As stated in dcumentation: https://docs.djangoproject.com/en/dev/ref/models/fields/#textfield A large text field. The admin represents this as a (a multi-line input). You should use CharField instead of TextField -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website

Re: Dynamic parameters in django URLs

2011-09-29 Thread Ilian Iliev
may run multiple queries in the view to check which one of them responds to the correct keyword. But I found this one a little bit "confusing" about the users. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Thu, Sep 29, 2011

Re: MYSQL Installation error

2011-09-26 Thread Ilian Iliev
Probably your MtSQL is not working, Try to telnet to this port to check is it open and is something listening on it. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Mon, Sep 26, 2011 at 11:32 PM, PremAnand Lakshmanan <prem1...@gmail.

Re: Reuse admin for views when some fields are from remote sources

2011-09-26 Thread Ilian Iliev
If you want to make these editable you should declare your own form for the admin and overwrite the save method. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Mon, Sep 26, 2011 at 7:37 PM, cesar.ortiz <cesar.or...@gmail.com>

Re: Reuse admin for views when some fields are from remote sources

2011-09-26 Thread Ilian Iliev
): return remote_property class MyModelAdmin(admin.ModelAdmin) list_display = ( 'remote_property', 'other_model_field') -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Mon, Sep 26, 2011 at 2:11 PM, cesar.ortiz <cesar

Re: Does ModelForm follow ForeignKey relations ?

2011-09-20 Thread Ilian Iliev
So you want to edit the User object through the ModelForm of the other model, or you just want to display it? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Sep 20, 2011 at 4:37 PM, Jonas Geiregat <jo...@geiregat.org>

Re: Does ModelForm follow ForeignKey relations ?

2011-09-20 Thread Ilian Iliev
Hi, ModelForm should automatically create a dropdown list for your foreign key. If there is nor such drop-down created probably you are doing something wrong. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Tue, Sep 20, 2011 at 1:26 PM

Re: Caching static images using memcache/nginx

2011-09-16 Thread Ilian Iliev
ing a static resource like a image? > > Thomas > > On Thu, Sep 15, 2011 at 4:52 PM, Ilian Iliev <il...@i-n-i.org> wrote: > > How about to set correct headers and make the images cached on user side > > instead > > of wasting memchached resources? > >

Re: Caching static images using memcache/nginx

2011-09-15 Thread Ilian Iliev
e because you are subscribed 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, visi

Re: Caching/Reload problem - cannot refresh model data

2011-09-15 Thread Ilian Iliev
same time? -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Thu, Sep 15, 2011 at 11:43 AM, Tom Evans <tevans...@googlemail.com>wrote: > On Wed, Sep 14, 2011 at 6:57 PM, Ilian Iliev <il...@i-n-i.org> wrote: > > Hi Tom,

Re: Caching/Reload problem - cannot refresh model data

2011-09-14 Thread Ilian Iliev
breaking the transaction(is this possible)? I am not trolling just asking? Regards, Ilian Iliev -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Wed, Sep 14, 2011 at 2:34 PM, Tom Evans <tevans...@googlemail.com> wrote: > On We

Re: Caching/Reload problem - cannot refresh model data

2011-09-14 Thread Ilian Iliev
How are you pulling the data from the database in the desktop app - using pure SQL or using the ORM? If using the ORM it is possible it to cache the results of the database so you can run: mymodel.objects.update() This should clear the cache. -- eng. Ilian Iliev Web Software Developer Mobile

Re: Problems trying to use ManyToMany field before saving in a ModelForm

2011-09-12 Thread Ilian Iliev
ommit = True) > HttpResponseRedirect return (reverse (manager)) > # > > . . . > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroup

Re: Multi widget?

2011-01-03 Thread Ilian Iliev
ooglegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- eng. Ilian Iliev We

Re: slightly complicated radio input question

2010-12-10 Thread Ilian Iliev
groups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: ilian.i-n-i.org -- You received this message because yo

Re: Problems installing south as part of django-cms

2010-12-09 Thread Ilian Iliev
tError: No module named toolbar > > I don't understand! > > Thanks > > On Dec 9, 2:35 pm, Ilian Iliev <il...@i-n-i.org> wrote: > > Hi, > > > > the problem look to be that cms is not in your python path. > > It should work without hard

Re: Create new entry on first save of different model

2010-12-09 Thread Ilian Iliev
Hi, you can overload the save method of Model1 in a way that it checks type and if it is machine, create two record in Model2. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: ilian.i-n-i.org On Thu, Dec 9, 2010 at 11:21 PM, Nick <nickt...@gmail.com> wrote

Re: Problems installing south as part of django-cms

2010-12-09 Thread Ilian Iliev
chFromCacheMiddleware', > > But, now I get the error: > > CMS Permission system requires > cms.middleware.user.CurrentUserMiddleware. > Please put it into your MIDDLEWARE_CLASSES in settings file > > I have verified that the paths are correct, and the > CurrentUserMiddleware

Re: Problems installing south as part of django-cms

2010-12-09 Thread Ilian Iliev
ogle 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<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this g

Re: Returning value directly to another function

2010-12-09 Thread Ilian Iliev
oup, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 6

Re: CSRF missing token

2010-12-09 Thread Ilian Iliev
Hi, you have to include the request context to use CSRF token. from django.template import RequestContext return render_to_response('index.html', locals(), context_instance = RequestContext(request)) Greeting, Ilian Iliev On Thu, Dec 9, 2010 at 2:08 AM, martvefun <martve...@gmail.com>