What should I need to do in django, if I want to edit the information
filled in django, like we edit our profile in facebook after filling
once?
--
Amanjot Kaur
Blog: kauramanjot35.wordpress.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hello,
I just start to publish my app on web. Everything going well but I face a
new problem, before I never face. Site working but sometimes raise error
like this;
OperationalError at /
fe_sendauth: no password supplied
Full error looks like this;
OperationalError at /
fe_sendauth: no
Hello,
Your DATABASES settings aren't correct.
fe_sendauth is about Postgresql complaining the login/password didn't match.
Regards,
Xavier,
Linovia.
Le 18 oct. 2013 à 10:28, Muhammed TÜFEKYAPAN a écrit :
> Hello,
>
>
> I just start to publish my app on web. Everything going well but I face
Thanks for answer. But if my login and pass didn't match, it always raise
error. It just sometimes raise error, sometimes doesn't.
2013/10/18 Xavier Ordoquy
> Hello,
>
> Your DATABASES settings aren't correct.
> fe_sendauth is about Postgresql complaining the login/password didn't
> match.
>
>
If you are using anything other than the devserver, you'll need to reload /
restart your service in order for your changes to take effects.
Django/webservers differ a couple of things until a request comes. This means
that if you changed the settings after a first request you may have a some
thr
I created a new project with a class with two fields, one type CharField
and another type BinaryField. When I access the admin, only the field name
appears.
My class:
class Arquivo(models.Model):
nome = models.CharField(max_length=255)
arquivo = models.BinaryField()
def __unicode__
I restart and problem solved.
Thanks everbody.
Best.
On Friday, October 18, 2013 11:28:45 AM UTC+3, Muhammed TÜFEKYAPAN wrote:
>
> Hello,
>
>
> I just start to publish my app on web. Everything going well but I face a
> new problem, before I never face. Site working but sometimes raise error
>
Hi,
I am newbie to django looking for a simple sample.
What I need:
1.) simple template may be with 2-4 fields/text boxes with "save" button.
What it should do:
Just save the data in the text boxes to a database when i press the "save"
button.
2.) may be another template with button "Show DB"
Thanks to Leonardo, Daniel and Charly this issue is resolved! Each of your
comments helped me.
I changed my views.py file filter statement:
FROM: name = Name.objects.filter(pk=my_**number).values_list('city',
flat=True)
TO: name = Name.objects.get(pk=number).name
And in my template I have the s
I am using out of the box django 1.5 authentication solution. After user is
logged in, i use build-in user_logged_in signal from
django.contrib.auth.signals to add a piece of information to the logged in
user as follow:
from django.contrib.auth.signals import user_logged_in
from django.dispatch
On 10/18/13 10:04 AM, Sanjaya Vitharana wrote:
Hi,
I am newbie to django looking for a simple sample.
I'd suggest picking up a package built on top of Django. Maybe Mezzanine
(I've enjoyed working with that). But there are several which will get
you going quickly.
hth
On Fri, Oct 18, 2013 at 1:09 PM, amanjot kaur wrote:
> What should I need to do in django, if I want to edit the information
> filled in django, like we edit our profile in facebook after filling
> once?
That means editing the already saved data?
Assuming you are using a ModelForm, use the insta
I am using out of the box django 1.5 authentication solution. I also
user_logged_in signal from django.contrib.auth.signals to add a piece of
information to the logged in user to hope i can retrieve it later as follow:
from django.contrib.auth.signals import user_logged_in
from django.dispatch i
I am using out of the box django 1.5 authentication solution. After
authenticated, i want to add a 'post_login_info' to the user using
user_logged_in signal from django.contrib.auth.signals
from django.contrib.auth.signals import user_logged_in
from django.dispatch import receiver
@receiver(use
Even though i have not directly answered my question, i found out that
session storage is an alternative solution.
On Friday, October 18, 2013 12:17:50 PM UTC-7, Khanh Tran wrote:
>
> I am using out of the box django 1.5 authentication solution. After
> authenticated, i want to add a 'post_login
Looks like this comes from custom_user.py in django.contrib.auth.tests:
class CustomUser(AbstractBaseUser):
email = models.EmailField(verbose_name='email address', max_length=255,
unique=True)
is_active = models.BooleanField(default=True)
is_admin = models.BooleanField(default=False)
I'm following the tutorial at
https://docs.djangoproject.com/en/1.5/intro/tutorial01/
...I'm at the stage where I can change the template of the admin site. I'm
instructed to copy base_site.html from the django source directory to a
template/admin folder in my site directory. I have done this and
I have a 1.2.6 project that I am upgrading to 1.5.4, when I run the dev
server with:
> python -Wall manage.py runserver
I am getting the following warning:
/home/jlh/Projects/calypso-15x/local/lib/python2.7/site-packages/django/utils/simplejson.py:12:
PendingDeprecationWarning: django.ut
Trying to deploy my very first app in PythonAnywhere (or at
AnywhereAnywhere for that matter) I'm currently getting
TemplateSyntaxError: 'blog_extras' is not a valid tag library:
ImportError raised loading nrpccms.newsroom.templatetags.blog_extras: No
module named settings
(full error log)
Did you add:
TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]
to settings.py ?
On Fri, Oct 18, 2013 at 6:47 PM, Gavin Lowry wrote:
> I'm following the tutorial at
> https://docs.djangoproject.com/en/1.5/intro/tutorial01/
> ...I'm at the stage where I can change the template of the admin
Hi,
I'm trying to get a handle on the modified_time() method in the Storages
API. I couldn't find any hints in the doc as to what the right way to
implement the modified_time() method was in regard to timezones. Currently
it looks like the default FileSystemStorage backend returns the modified
tim
21 matches
Mail list logo