I'm looking for a step-by-step system admin recipe to get away from
Python 2.7 because unicode on 2.7 is doing my head in. This is ugly I
know but that's how it is.
Staging server is Ubuntu 12.04on local hardwarewith Python 2.7 and it
runs Apache2 and mod_wsgi. It serves Django, Subversion, Bu
Resloved, datetime format issue, More see stackoverflow
在 2016年9月5日星期一 UTC+8上午12:15:35,广宏伟写道:
>
> I use django version 1.10, When a add LocaleMiddleware into settings.py,
> form valid error. I have been makemessage and compile it
>
> Here is my model and form,
>
>
>
> class User(AbstractUser)
2016-09-06 16:07 GMT+02:00 Andromeda Yelton :
> +1 to Erik's plan.
>
> In deciding whether to stop at 1.8 or go all the way to 1.10 I'd ask
> myself the following questions:
>
> * Are there features from 1.10 (that aren't in 1.8) that I'd really like
> to have? (channels is the big one for me)
>
>
Please take a look at
https://docs.djangoproject.com/en/stable/howto/legacy-databases/
On Tuesday, September 6, 2016 at 3:16:29 PM UTC-4, MPY wrote:
>
> Hi everyone , I am new with Django and I try to connect with external
> database to read the data and show in my view.
>
> Hi create a new ent
Hi everyone , I am new with Django and I try to connect with external
database to read the data and show in my view.
Hi create a new entry in setting.py file with the new database info that I
want connect. Something like this.
'externDB': {
'ENGINE': 'django.db.backends.mysql',
On Tuesday, 6 September 2016 17:05:39 UTC+1, Tim Graham wrote:
>
> See https://code.djangoproject.com/ticket/4345 for the ticket that
> disallowed primary_key/unique on FileField.
>
I've now opened a new ticket #27188 to suggest reversing this change ;-)
> You can write a custom field to get F
See https://code.djangoproject.com/ticket/4345 for the ticket that
disallowed primary_key/unique on FileField.
You can write a custom field to get FileField to use a UUID in the database
(and likely also lift the other restrictions you want to bypass).
On Sunday, September 4, 2016 at 11:54:06 A
Per our support versions policy, Django 1.9.x is only receiving fixes for
security and data loss issues. Migrations optimizations are unlikely to
qualify for a backport to Django 1.10.x either. Hopefully that doesn't
demotivate you from contributing an improvement.
https://docs.djangoproject.co
We migrated a huge codebase from 1.4 to 1.8 like this:
https://github.com/FreedomCoop/valuenetwork/issues?q=is%3Aissue+is%3Aclosed+label%3Aupgrade
Might give you some clues. Short version: one release at a time.
--
You received this message because you are subscribed to the Google Groups
"Dja
+1 to Erik's plan.
In deciding whether to stop at 1.8 or go all the way to 1.10 I'd ask myself
the following questions:
* Are there features from 1.10 (that aren't in 1.8) that I'd really like to
have? (channels is the big one for me)
* Are there important third-party dependencies that are only
On Tue, Sep 06, 2016 at 11:12:14AM +0200, Andreas Kuhne wrote:
> 2016-09-06 10:57 GMT+02:00 Erik Cederstrand :
>
> >
> > > Den 6. sep. 2016 kl. 10.20 skrev Lekan Wahab :
> > >
> > > Good morning guys.
> > > I was handed a project at work which was written as far back as 2012.
> > > Quiet a lot of
2016-09-06 10:57 GMT+02:00 Erik Cederstrand :
>
> > Den 6. sep. 2016 kl. 10.20 skrev Lekan Wahab :
> >
> > Good morning guys.
> > I was handed a project at work which was written as far back as 2012.
> > Quiet a lot of the packages used in the project are either no longer
> being maintained.
> > R
> Den 6. sep. 2016 kl. 10.20 skrev Lekan Wahab :
>
> Good morning guys.
> I was handed a project at work which was written as far back as 2012.
> Quiet a lot of the packages used in the project are either no longer being
> maintained.
> Rebuilding the project from scratch is not option.
> There
Good morning guys.
I was handed a project at work which was written as far back as 2012.
Quiet a lot of the packages used in the project are either no longer being
maintained.
Rebuilding the project from scratch is not option.
There are way too many moving parts and way too many apps to rebuild it.
14 matches
Mail list logo