Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Ben Spaulding 7a9979b781 Remove django-celery dependency
It is not Django 2.2 compatible, and it is not needed by celery
any more anyway.

mozilla/sumo-project#136
2020-05-29 16:29:53 +03:00
Ben Spaulding d22746a4d4 2to3 print fix. 2020-05-27 15:20:00 +03:00
Giorgos Logiotatidis fac1ce026a Update docker. 2017-11-20 12:54:12 +02:00
Mike Cooper 6650c53623 [Bug 1238055][Bug 1225606] Upgrade Django to 1.8. 2016-02-25 15:08:13 -08:00
Will Kahn-Greene c7f483d970 [bug 1116489] Tweak ImportError message in manage.py
If they have a virtual environment activated, then the problem is
probably either they haven't installed the requirements or they haven't
updated them in a while.

If they don't have a virtual environment actiivated, then they need to
activate it.

This code change attempts to distinguish between the two by looking for
VIRTUAL_ENV in the environment.
2015-09-29 11:31:01 -04:00
Will Kahn-Greene 67b894885e [bug 1116489] Tweak manage.py to be more helpful on errors
If you don't have your virtualenv activated, then manage.py sputters and
squawks and between muscle spasms of its right eye rants about
conspiracies involving django.forms which is unintelligible gibberish,
not helpful and not friendly to kitsune developers.

This fixes that by catching the ImportError and giving you a more
helpful hint.
2015-09-29 11:28:01 -04:00
Mike Cooper 123925f447 Fix lint errors. 2015-04-09 19:42:59 -07:00
Will Kahn-Greene 58541afb1b [bug 1056298] Fix createsuperuser
This adds a patch call to manage.py. The problem is that various
Django-specific subcommands at some point import Jingo which eventually
results in a circular import. Adding the patch call here guarantees
that Jingo and all that stuff is imported before we import the things we
need to import to execute the subcommand.
2014-12-04 06:25:19 -08:00
dean 1c08befc23 [bug 1035319] Added peep and requirements file. 2014-09-18 14:55:32 -07:00
dean 6c975ae589 [bug 1035319] Updated travis and deploy scripts. 2014-09-18 14:55:20 -07:00
Ricky Rosario 248dae0021 [bug 963088] Fix deprecation warnings in manage.py 2014-02-13 14:17:06 -05:00
Ricky Rosario 8adcc24790 Revert "[bug 963088] Fix deprecation warnings in manage.py"
This reverts commit 31bf7c8c76.
2014-01-24 12:54:19 -05:00
Ricky Rosario 31bf7c8c76 [bug 963088] Fix deprecation warnings in manage.py 2014-01-23 15:06:40 -05:00
Ricky Rosario c2348e14ac Move lib/ to kitsune/lib 2013-06-06 11:22:30 -04:00
Ricky Rosario 54ddbae078 [bug 872538] Move apps from apps/ to kitsune/ 2013-06-06 11:22:30 -04:00
Ricky Rosario 3f30d8752e [bug 872516] Create kitsune python module. 2013-06-03 17:59:17 -04:00
Ricky Rosario 5f8506840a Move some monkeypatching from manage.py to monkeypatch.py 2013-01-03 15:17:58 -05:00
Berker Peksag 84c5ac764b Remove duplicate import of "sys" module. 2012-12-27 10:22:37 -05:00
Ricky Rosario 5a16755a22 Revert "[Bug 750247] Use dictConfig logging configuration"
This reverts commit c5cf92fc15.

We'll unrevert once IT sets up the settings_local.py properly.
2012-10-04 05:08:09 -04:00
Mike Cooper c5cf92fc15 [Bug 750247] Use dictConfig logging configuration
- Translated the settings in log_settings.py to dictConfig.
- Moved logging settings to settings.py, where they can be overwritten
  by local_settings.py.
- Removed log_settings.py, in favor of settings.py/local_settings.py.
- Remove LOG_LEVEL setting.

LOG_LEVEL is misleading, because overwriting it in local_settings.py
would not have the desired effect. Since the dict is built at import
time, local_settings.py would have no chance to modify it before the
dict was built.
2012-10-03 09:14:52 -07:00
Tim Watts :timw c7079b1372 [bug 663236] Add safe form monkeypatch from nuggets 2011-08-25 11:50:15 -07:00
Ricky Rosario bf4e3d0965 Integrated the shiny new django-session-csrf. [bug 651634] 2011-04-26 16:06:15 -04:00
James Socol 2254a71aa8 Remove print statement. 2010-12-22 13:30:52 -05:00
James Socol 36717ae49a Testing the test runner. 2010-12-22 12:15:25 -05:00
James Socol ccca0cb1a6 [Bug 567960] Add vendor library. 2010-08-24 18:42:27 -04:00
James Socol a0ba1c340e Fixed the issues from Dave and Paul's comments; refactored Jeff's point about the duplicate code. 2010-04-01 17:01:54 -07:00
James Socol d03b6f87c9 Adding middleware and tests. Removing dependency on django-localeurl. Added the big list of locales (more than we support) and the subset of our supported locales. 2010-04-01 12:45:15 -07:00
James Socol 6fe3c3b7a1 pulling in support for settings_local.py 2010-02-03 15:11:43 -08:00
James Socol e3f86dae33 django skeleton 2010-02-03 15:09:30 -08:00