Django is properly installed but when i run, django-admin.py it returns the
following error.
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in
management.execute_from_command_line()
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__
Mmm probably you are looking for export /import data in django.
For export :
python manage.py dumpdata --format=json myapp > data.json
For import:
python manage.py loaddata data.json
See
https://docs.djangoproject.com/en/1.8/ref/django-admin/#loaddata-fixture-fixture
El lunes, 25 de mayo de 20
are either of you using pythonanywhere.com for django
I am having an issue with the wsgi file for my virtualenv
I keep getting this error:
for this code:
import os
import sys
# assuming your django settings file is at
'/home/MYUSERNAME/MYSITE/settings.py'
path = '/home/pycharm/work'
if path not i
939 :Traceback (most recent call last):
2015-05-25 18:45:19,939 : File "/bin/user_wsgi_wrapper.py", line 130,
in __call__
2015-05-25 18:45:19,939 :
self.error_log_file.logger.exception("Error running WSGI application")
2015-05-25 18:45:19,939 : File
"/usr/lib/python2.7/logging/__init__.py", line
Thank You Luis, but it will be for the entire project, right? I just want
to apply this to a single variable.
For example,
(float)
variable_x = 15.123 # Thousand separator from my L10N
variable_y = unlocalize(variable_x)
print variable_y # 15123
Do you know how can I do that without using a
I should add that the actual error is:
selenium.common.exceptions.NoSuchElementException: Message: Unable to
locate element: {"method":"id","selector":"id_login"}
because the main page never loads so it can't find the login button,
On Mon, May 25, 2015 at 12:29 PM, Timothy W. Cook wrote:
> I
I have a project that I started, then decided I should apply a TDD
approach.
Well the user registration and login portion already works but I am
attempting to add some tests to it.
The user can register, is redirected back to the main page with a Login
button.
Here is the test code:
def test
Set in yours Settings
USE_I18N = FalseUSE_L10N = False
See:
https://docs.djangoproject.com/en/1.8/ref/settings/#use-i18n
2015-05-25 7:01 GMT-06:00 :
> Hello guys!
>
> Is there a way to use unlocalize in views? I know that I can use this in
> template (
> https://docs.djangoproject.com/en/1.8/topi
> On May 21, 2015, at 11:24 PM, jaspinder singh
> wrote:
>
> I have developed an app using sqllite. But my Heroku doesn't support sqllite
> and the data keeps leaking every 24 hours. Can someone list the steps how to
> change from sqllite3 to postgres
>
>From sqlite:
sqlite> .output backup
Hi Abraham,
I needed to solve this a few months ago, decided to use
https://github.com/getsentry/responses
The way I did this is that I have a function that sets all required
responses (using the endpoint URL and the expected response in a file).
Then I detect in the application setup (apps,
Hello guys!
Is there a way to use unlocalize in views? I know that I can use this in
template
(https://docs.djangoproject.com/en/1.8/topics/i18n/formatting/#localize)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gr
http://stackoverflow.com/questions/30425468/django-updating-members-of-modelformset-with-unique-fields
The situation - I have a model and inline formset like:
class ProductImage(models.Model):
product = models.ForeignKey('Product')
display_order = models.PositiveSmallIntegerField(default=
I used https://pypi.python.org/pypi/requests-mock, but the mocking was done
on the testCase class, the view was written without if DEBUG or anything
similar
On Mon, May 25, 2015 at 3:33 PM, Abraham Varricatt <
abraham.varric...@googlemail.com> wrote:
> Hello everyone,
>
> I'm working on a Django
Hello everyone,
I'm working on a Django application which needs to communicate with a
3rd-party REST API. In production the flow would be like this;
1. end-user browser sends a request to my django server
2. my server makes a remote REST call to 3rd party server
3. 3rd party server resp
Have you read Django's documentation?
https://docs.djangoproject.com/en/1.8/ref/databases/#mysql-notes
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-us
Please tell me the steps to add images to user/admin interface using gravtor
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroup
Tell me software version of MySql that works with django 1.8 & python 2.7
And what are the steps for installation. Do it requires any DB-API
connector?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rec
17 matches
Mail list logo