Hi,
I have a user table that is not the default Django's User model. This table
contains a list of users and their profiles for an API service that I host
using Django/tastypie for a mobile app.
They do have access to the portal that is built using Django.
I'm trying to implement password res
Should I stop this bot at 66.249.73.7
It is causing my search log to fill up quickly.
--
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...@g
@method_decorator(login_required) but how to add "login_url=''/login/" to
login_required
in function view, I use @login_required(login_url='login/') but in class
based view, how? Anyone help?Thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi
I am using the User model.
I want the username to be more than 30 characters.
Is there anyway to change the size from 30 to 75.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
Hello,
Before sync. import user, and set size
from django.contrib.auth.models import User
User._meta.get_field_by_name('username')[0].max_length = 75
in any model which is in installed_apps list..
2013/5/25 uday kumar g
> Hi
>
> I am using the User model.
> I want the username to be more than
I tried that but it still producing the error
Error: Ensure this value has at most 30 characters (it has 50).
*Thanks and Regards*
Uday Kumar G
*MSIT-IIIT
*
*e-mail: uday12ku...@gmail.com*
*mobile: +91-8886785550*
On Sat, May 25, 2013 at 5:37 PM, Emrah Atalay wrote:
> Hello,
>
> Before sync. im
That's Googlebot crawling your site: http://dazzlepod.com/ip/66.249.73.7/
Instead of stopping it, you probably want to throttle down the crawler
using Google Webmaster Tools.
On Sat, May 25, 2013 at 9:30 PM, frocco wrote:
> Should I stop this bot at 66.249.73.7
>
> It is causing my search log t
Can you show me an example?
With the HttpResponseRedirect are forced to send the information to another
page.
While I need to display the image (in a window, that the user can close) on
the same page that contains the form.
Thanks in advance.
GD
Il giorno venerdì 24 maggio 2013 20:27:55 UTC+2,
Dear Django Gurus,
I have a simple question about middleware. I have a middleware object
which looks like this:
class MyMiddleware(object):
def process_view(...):
...
self.data = some data
...
def process_template_response(...):
data = self.d
you can set it in setting.py file
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Sat, May 25, 2013 at 9:33 AM, nany wrote:
> @method_decorator(login_required) but how to add "login_url=''/login/" to
> login_required
>
> in function view, I use @login_required(login_url='login/') but i
Hello all,
I've posted a similar question a couple of months ago, but received no
answer. I'm repeating the question now, but hopefully making it a bit
clearer on what I desire to achieve.
Is there any way to have the admin app pass the currently set filter
(GET prameters) to the "add view"?
For
Hello
When I run the initially created project using the command 'python
manage.py runserver' gives me
Error: [Errno 10013]
When I run this command though 'python manage.py runserver 8001', then I
can see the site on http://localhost:8001
Can you tell me why this happens and what are those 4
On Sat, 25 May 2013 12:40:08 -0700 (PDT)
Kokas <79papa...@gmail.com> wrote:
> Hello
>
> When I run the initially created project using the command 'python
> manage.py runserver' gives me
> Error: [Errno 10013]
>
> When I run this command though 'python manage.py runserver 8001', then I
> can
The 'python manage.py runserver' by default runs the server on port 8000.
But, your 8000 port must be getting used by some other application. Thus,
8001 works, which was free. The four digits are ports and the localhost is
your IP address which is equal to 127.0.0.1. You may try this link to get
th
On 2013-05-25 12:40, Kokas wrote:
> Hello
>
> When I run the initially created project using the command 'python
> manage.py runserver' gives me
> Error: [Errno 10013]
A from-the-hip guess is that you're running on a machine (such as
Linux/BSD/Mac) where ports <1024 are considered privileged, a
To check if the instance was saved one might do something like this:
def is_instance_saved(instance):
if instance.pk is None:
return False
# in case pk was set manually
try:
instance.__class__.objects.get(pk=instance.pk)
except ObjectDoesNotExist:
return Fal
I did some test myself and the best thing what I can do is to attach
data to the request since its live cycle is what I actually need.
Best regards,
Marcin
On 14:20 Sat 25 May , Marcin Szamotulski wrote:
> Dear Django Gurus,
>
> I have a simple question about middleware. I have a middleware
Hi, how to view the tables in pg admin for postgresql database, or in
workbench for mysql db.?? Like there's sqlite databse browser for sqlite3.
Any other GUI maybe?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Hi,
what do you mean with view tables? Pgadmin3 is a GUI for Postrges which has
a data browser and also you can edit data and table structure.
On Sat, May 25, 2013 at 8:53 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:
> Hi, how to view the tables in pg admin for postgres
On Sat, May 25, 2013 at 4:57 PM, uday kumar g wrote:
> Hi
>
> I am using the User model.
> I want the username to be more than 30 characters.
>
> Is there anyway to change the size from 30 to 75.
>
>
There's no way to change the size of a model that already exists in Django.
However, in the case
On Sun, 26 May 2013 05:23:08 +0530
Kakar Arunachal Service wrote:
> Hi, how to view the tables in pg admin for postgresql database, or in
> workbench for mysql db.?? Like there's sqlite databse browser for
> sqlite3. Any other GUI maybe?
>
Is this what you are looking for?
http://stackoverflow
Sad, i'm on windows! So, can u tell me how to view the tables that i
created after syncdb django in pg admin3, there were so many tables. M
sorry, m jst a begginer. I dont understand much.
On Sun, May 26, 2013 at 5:51 AM, Drew Ferguson wrote:
> On Sun, 26 May 2013 05:23:08 +0530
> Kakar Arunacha
On Sun, 26 May 2013 06:14:11 +0530
Kakar Arunachal Service wrote:
> Sad, i'm on windows! So, can u tell me how to view the tables that i
> created after syncdb django in pg admin3, there were so many tables. M
> sorry, m jst a begginer. I dont understand much.
So you are using Postgres and pgadm
Everything was working up until a few hours ago. Then I tried setting up
South because I have a less than simple migration to do. Now I've tried
this with and without South in installed apps, but either way this is what
I get:
(venv)Joshs-MacBook-Air:webapp josh$ python manage.py syncdb --verbo
24 matches
Mail list logo