When installing Django in python3 I have the following error
ValueError: ZIP does not support timestamps before 1980
someone knows how i can solve this
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop recei
ions to unique_together constraint it works ok.
Migrations passes with no errors
...
class Meta:
unique_together = [['uid', 'source']]
As mentioned in docs
<https://docs.djangoproject.com/en/2.2/ref/models/options/#unique-together>
unique_together may be d
initial.py#L208
> )
> And based on django documentation the related_name must always be unique (
> https://docs.djangoproject.com/en/1.8/topics/db/models/#be-careful-with-related-name
> )
>
> It is just an assumption.
>
> Yours sincerely,
> Pavel
>
> Hello,
>>
/core/migrations/0001_initial.py#L208)
And based on django documentation the related_name must always be unique
(https://docs.djangoproject.com/en/1.8/topics/db/models/#be-careful-with-related-name)
It is just an assumption.
Yours sincerely,
Pavel
Hello,
>
> After upgrading to 1.8 from 1.7.7 ou
Yeah, sorry:)
2015-04-16 16:04 GMT+03:00 Vijay Khemlani :
> Why are you talking to me? I'm not OP xD
>
> On Thu, Apr 16, 2015 at 9:57 AM, Pavel Kuchin
> wrote:
>>
>> Hi Vijay,
>>
>> Looks like Django does not use SortedDict anymore
>&
, **kw): from your class,
ordering should be based on fields definition order.
Best regards,
Pavel
2015-04-16 15:31 GMT+03:00 Vijay Khemlani :
> In the title: "'OrderedDict' object has no attribute 'keyOrder'"
>
> On Thu, Apr 16, 2015 at 6:13 AM, Pavel Kuc
Hi Willy,
Can you send an error, because I see only the SignupFormExtra class.
Yours sincerely,
Pavel
четверг, 16 апреля 2015 г., 1:41:47 UTC+3 пользователь willyhakim написал:
>
> Hi everyone,
> I am using django-userena and extend the form class to add some of my own
> fields
Hi Sekkizhar,
I think django.forms.ModelForm is exactly what you are looking for.
(https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#modelform)
Yours sincerely,
Pavel.
Good Morning,
> I am trying to save data in the table using cleaned data by get and post
> method in th
)
model_instance.tags.add(t)
return HttpResponseRedirect("/")
Best regards, Pavel
Help me, django-users, you're my only hope :D
>
> Hi all, my name is Filippo, I'm from Italy and I'm totally stuck on this
> problem...
>
> I have a model with a ManyToManyF
Hi Chase,
Can you please attach your settings.py (or at least DATABASES and
INSTALLED_APPS options) and LocationModel class?
Best regards, Pavel
2015-04-13 17:37 GMT+03:00 Chase Cooley :
> Yes, I have tried makemigrations and migrate for all modules and it still
> doesn't work.
Hi Chase,
Did you try makemigrations and migrate:
$ python manage.py makemigrations
$ python manage.py migrate
You should run them for all modules at first time (do not set any specific
module).
Best regards, Pavel.
I can post code and errors here, but have already posted on
Hi Mike,
I think the issue is that Django can't find your default DB settings.
Please take a
look: https://docs.djangoproject.com/en/1.8/ref/settings/#databases
Best regards, Pavel
понедельник, 6 апреля 2015 г., 15:44:01 UTC+3 пользователь Mike Dewhirst
написал:
>
> Can som
Helloevryone. Is there more detailed documentation for achieving multi
language site on django? I don't even know what this is
https://docs.djangoproject.com/en/1.4/topics/i18n/ All i can see is that
django can "multi language" and that's it.
--
You received this message because you are subscr
rver will fix it as you'll get fresh
> connections. What is your CONN_MAX_AGE?
> On Dec 17, 2013 4:57 AM, "Pavel Lurye" >
> wrote:
>
>> Hi,
>> does anyone have used django1.6 persistent connections with postgresql?
>> I've done a simple
Hi,
does anyone have used django1.6 persistent connections with postgresql?
I've done a simple test and I'm not sure, that django behaves correctly.
Django can't recover after DB restart, and all further db requests lead to
server error:
---
Traceback (most recent call last):
File
"
placed views.py?
понедельник, 10 июня 2013 г., 11:22:13 UTC+4 пользователь Amirouche написал:
>
>
>
> Le lundi 10 juin 2013 00:48:06 UTC+2, Pavel a écrit :
>>
>> i have some newbie questions ^^
>
>
> Can you elaborate on yours needs ? They are several CMS in Django:
Hi,
I know it's old, but did you find any solution for this?
Thanks
Pavel
Dne čtvrtek, 15. října 2009 17:01:57 UTC+2 Szymon napsal(a):
>
> Hello,
>
> Sometimes Django (on higher loads) throws exception:
>
> TransactionRollbackError: deadlock detected
> DETAIL
PyCharm?
On Mon, Dec 19, 2011 at 2:34 PM, Alec Taylor wrote:
> I'm looking for a Django IDE which incorporates the following features:
> - Syntax-highlighting
> - Projects (all code file of the project shown separated by directory
> in a sidebar)
> - Tabs (with close buttons on tab)
> - Code-comp
> Actually there is nothing about that is not possible to use worker MPM
> and daemon mode.
Sorry. I meant prefork MPM :)
--
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 uns
http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Apache_Requirements
>For Apache 2.0 and 2.2, either the single threaded 'prefork' or multithreaded
>'worker' Apache MPMs can be used.
>To be able to make use of daemon mode of mod_wsgi, either Apache 2.0 or 2.2 is
>required and the corr
27;Hello')
My question is how to enforce django to execute followinq query:
SELECT ...
WHERE (pub_date > '2005-1-3' OR headline = 'Hello')
Thank you in advance,
Pavel
--~--~-~--~~~---~--~~
You received this message because you are subscribe
hi all
please, due to http://www.djangoproject.com/weblog/2008/sep/02/security/
i would like to know, when there will be security patch for debian
etch version
thank you
pavel srb
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On 2 июл, 10:54, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-07-01 at 20:44 -0700, Yosifov Pavel wrote:
> > I made own tags. Sometimes I want to "rendering" arguments (when
> > arguments of the tag are Django-template-expressions). So, I use
>
I made own tags. Sometimes I want to "rendering" arguments (when
arguments of the tag are Django-template-expressions). So, I use
template.render() method. All is OK but it's look like this:
{% some_tag {{var}} %}
but in built-in tags this is usually without {{..}}:
{% builtin_tag var %}
What i
Hello everyone!
Sorry for another stupid question, but there it is. I'm building a
news app for a website for a self-teaching and figured out I don't
understand some basic thing. I want news to publish news from
different sources:
1. Add 'em manually all by myself (that's no problem)
2. Allow re
Hello everyone,
I want to build sort of a multi-user blog system with some "community-
building" features. Right now I see it as a set of applications as
such:
- News. RSS-aggregated, manually translated and republished on the
site "Industry News" section
- Blog. Each user will have a blog of one
uot;weight" of ranking level. Ranking level add
# nestedlen to flatindex if move by 1 (like hypercube).
nestedlen *= loop['counter0'] + loop['revcounter0'] + 1
else:
ret += loop['counter0']*nestedlen
# go to next-up l
pavel srb
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED
hi all
when i am writting html templates for django in emacs, my code is
underline. I get some django-mode from web, but that did not solve my
problem. So please, what mode or setting you have in your .emacs to do
not have underline code in your django templates.
thank you very much
pavel srb
rces (i use latest checkout), should i use
it? and do validation in view on POST? or if it will be better to use
custom manipulator?
I need a hint how this should dbe implemented in django way
btw, it seems that i can't store fields description in Form or field
classes?
--
Pavel
--~--~--
30 matches
Mail list logo