Hi Steven,
Could you put a "import pdb; pdb.set_trace()" somewhere in your code?
This way it would be pretty easy to inspect where the code is breaking.
Besides, why upgrading to Class-based-views if your previous Django 1.11
implementation was working fine?
HTH
Etienne
Le 2017-12-28 à
instead of:
curl -X POST -d "mobile=1234567890" http://localhost:8000/api-token-auth/
could you just use:
curl -X POST -d "username=1234567890" http://localhost:8000/api-token-auth/
In any case what's the use case here? This doesn't seem secure at all, to
log in someone only using the username, e
I do not know the mistake I am likely to be committing. In Django Version
2, I have a feeling that URL matching fails whenever there are query
variables.
When I try to log into Admin module, the login screen comes. But when a
'next' query variable is attached, I get a 404. Similarly when I try
Hello all!
I'm new to the list and mostly new to Django.
I am adding django-encrypted-model-fields to my Django project and one of
the steps to install it is to generate a key using a ./manage.py command:
$ ./manage.py generate_encryption_key
When executing it, an error is raised:
Traceback (mos
Hi,
Does anybody use django-oscar to build a commerce website? I have done most
of the things to make it online. But the default theme is ugly and not
matched with the commodity's style.
We are a startup company and no UXD for the website design right now. Is
there any other websites I can ref
hi,
i think your trying to write bytes instead of str. please have look at
below example it might help you:
name = b'i_m byte bro'
print(name.decode('utf-8')) // just decode the byte to str
o/p: i_m byte bro
On Fri, Dec 29, 2017 at 2:29 PM, emi wrote:
> Hello all!
> I'm new to the list and mo
On Fri, Dec 29, 2017 at 5:14 AM, Fred Grey wrote:
> Hi,
>
Hi!
>
> Does anybody use django-oscar to build a commerce website? I have done
> most of the things to make it online. But the default theme is ugly and not
> matched with the commodity's style.
>
> We are a startup company and no UXD fo
On Fri, Dec 29, 2017 at 5:59 AM, emi wrote:
> Hello all!
> I'm new to the list and mostly new to Django.
>
> I am adding django-encrypted-model-fields to my Django project and one of
> the steps to install it is to generate a key using a ./manage.py command:
> $ ./manage.py generate_encryption_ke
Please post your urls.py, this looks strange:
admin/ [name='index']
> admin/ login/ [name='login']
> admin/ logout/ [name='logout']
> admin/ r/// [name='view_on_site']
> admin/ ^(?Prsi|auth)/$ [name='app_list']
> login/ [name='login']
> logout/ [name='logout']
> authissue [name='authissue']
>
--
Hi,
As pointed out problem is not Django but that third party package that
tries to output data as bytes but Django expects to have string instead.
First make sure that 3rd party app works with Django version you're using.
If not you need to contact that 3rd party app developers to fix the actual
Hi all,
I have these apps, on my django site:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# erp apps:
'erp.apps.base',
'erp
If you haven't made the migrations, then you don't have any to actually
apply.
You can use
https://docs.djangoproject.com/en/2.0/ref/django-admin/#django-admin-showmigrations
to
show the migrations that have been created and those that have been applied
--
You received this message because y
admin/ [name='index']
admin/ login/ [name='login']
admin/ logout/ [name='logout']
admin/ password_change/ [name='password_change']
admin/ password_change/done/ [name='password_change_done']
admin/ jsi18n/ [name='jsi18n']
admin/ r/// [name='view_on_site']
.. (corresponds to the tables defined)
a
On 18/12/2017 8:23 PM, Etienne Robillard wrote:
Looks likes this is using javascript. What does the javascript
console says? Is the markup of the page valid HTML?
The javascript is slightly different between dev on localhost and
staging and I'm totally outta my depth :(
In the section of
Hey Mike,
Please take a look at this:
https://stackoverflow.com/questions/3231432/admin-field-fails-to-save-with-tinymce-and-filebrowser-in-django
Best regards,
Etienne
Le 2017-12-29 à 17:30, Mike Dewhirst a écrit :
On 18/12/2017 8:23 PM, Etienne Robillard wrote:
Looks likes this is using
Etienne
TINYMCE_FILEBROWSER = True
Did the trick.
Vous etes fantastique!
:))
Mike
On 30/12/2017 10:11 AM, Etienne Robillard wrote:
Hey Mike,
Please take a look at this:
https://stackoverflow.com/questions/3231432/admin-field-fails-to-save-with-tinymce-and-filebrowser-in-django
Best reg
16 matches
Mail list logo