Than is the issues, as it 'll display the content (inside it) as it
is .. making it preformated.
can't guess how you got your code wrapped in it in the first place.
Thanks
On Tuesday, January 8, 2013 6:29:53 AM UTC+5, Ryoichiro Kamiya wrote:
>
> Thanks jjmutumi, stauros!
>
> I am not using
Than is the issues, as it 'll display the content (inside it) as it
is .. making it preformated.
can't guess how you got your code wrapped in it in the first place.
Thanks
On Tuesday, January 8, 2013 6:29:53 AM UTC+5, Ryoichiro Kamiya wrote:
>
> Thanks jjmutumi, stauros!
>
> I am not using
For Django, you just have to set it in your project's settings.py module.
You can find it. yourProject-->yourProject -->settings.py open it with any
editor (Notepad++), and set it as stated in the tutorial.
Thanks
On Tuesday, January 8, 2013 12:11:08 AM UTC+5, Bugra Bircan wrote:
>
> Hi
>
> There are some cases where they send me Indesign, but when I export to HTML
> some of the layouts break. So then I have to manually rig it until I feel
> its close enough (but then it turns out it wasn't, so I mod again). Some
> imagemaps made from sliced up Photoshops with some cute rollover
On Mon, Jan 7, 2013 at 6:07 PM, Gurudev Devanla
wrote:
>
> Django 1.3 's version of urlresolver.reverse_dict has a tuple with 2
> elements. I notice that the 1.4's definition has 3 elements. Are similar
> changes to the resolver module documented elsewhere?
>
>
No.
maybe try deploy with gunicorn and nginx http://gunicorn.org/
http://wiki.nginx.org/Main
Cheers
On Mon, Jan 7, 2013 at 1:01 AM, Aaron C. de Bruyn wrote:
> Without knowing a bit more about your setup it would be difficult to give
> any meaningful advice.
>
> Are you running
If you're using bash, you should set it up on ~/.bashrc file, that way it
will always load, for every virtualenv and every terminal session.
BTW ~/ stands for the home directory and instead of LC_ALL try something
like this:
export LANG="en_US.UTF-8"
That would give less trouble with other
Google to the rescue:
http://stackoverflow.com/questions/10882839/django-unsupported-locale-setting-on-mac-os-x
After setting LC_ALL in venv/bin/activate and re-sourcing solved my
problem. Not sure if this should be handled automatically by either Django
or virtualenv setup, but maybe a note
Check the docs, there is a manage.py command to create superusers once
the DB is sync'd:
https://docs.djangoproject.com/en/1.4/ref/django-admin/#createsuperuser
Regards,
Carlos Ruvalcaba
On Mon, Jan 7, 2013 at 7:50 PM, Skip Montanaro wrote:
> get_system_username
>>
>>
get_system_username
> return getpass.getuser().decode(locale.getdefaultlocale()[1])
> TypeError: decode() argument 1 must be string, not None
>
>
> I'm on a Mac, which has minimally broken locale support. I went back to
> settings.py and set USE_L10N to False. After that, the syncdb
I'm working my way through the tutorial (using sqlite3 for database). I
got tripped up the first time I tried syncing the database:
% python manage.py syncdb
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table
On Tue, Jan 8, 2013 at 5:46 AM, Thiago Carvalho D' Ávila <
thiagocav...@gmail.com> wrote:
> I used auth mixin before in my app, then made the changes to make it work
> on the official Django with new custom user.
>
> The problem is that, when I run on my new empty db:
> python manage.py syncdb
Never mind. I think it's a permissions issue. Thanks!
On Monday, January 7, 2013 5:04:06 PM UTC-8, Chad Vernon wrote:
>
> Hello!
>
> I'm working on a local django site and I've set up a post-save signal
> where when an entry is initially saved, I want to copy a template directory
> structure
I try to use new User model. I made my custom model, attached it
by: AUTH_USER_MODEL = 'account.Account'
Model:
class Account(AbstractBaseUser, PermissionsMixin):
email = models.EmailField(
verbose_name=_('email address'),
max_length=255,
unique=True,
Hello!
I'm working on a local django site and I've set up a post-save signal where
when an entry is initially saved, I want to copy a template directory
structure somewhere. This template directory structure lives on a local
network location. However I can't seem to access it through my local
>
> Tie them neatly together
>
There are some cases where they send me Indesign, but when I export to HTML
some of the layouts break. So then I have to manually rig it until I feel
its close enough (but then it turns out it wasn't, so I mod again). Some
imagemaps made from sliced up
Hello All,
Django 1.3 's version of urlresolver.reverse_dict has a tuple with 2
elements. I notice that the 1.4's definition has 3 elements. Are similar
changes to the resolver module documented elsewhere?
Thanks
--
You received this message because you are subscribed to the Google Groups
two different pages
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
> My problem is how to authencate the first login form
> that wil redirect user to the registration page using the
> scratch card
> info(pin, serial no) because i intend storing the
I used auth mixin before in my app, then made the changes to make it work
on the official Django with new custom user.
The problem is that, when I run on my new empty db:
python manage.py syncdb --all
...
You just installed Django's auth system, which means you don't have any
superusers defined.
Thanks Bill, solved my puzzle. Reversion and debug-toolbar's latest version
are using old import.
And nkryptic, I tryed that, but the DepracationWarnings simply doens't turn
into errors with this command here =/
2013/1/7 nkryptic
> You could try running:
>
> $ python -W
Yes
Because i've read this paper :
http://mobisocial.stanford.edu/papers/hotpets11.pdf
And i would like to use a classic database AND an email as backend for
storing data.
The main goal is that some people can connect through my website ou through
a client using emails.
Is there any
On Tue, Jan 8, 2013 at 10:30 AM, Lachlan Musicman wrote:
> On Tue, Jan 8, 2013 at 9:52 AM, chad petzoldt wrote:
>> Right now my project only has 2 apps that use a database (*real* apps). The
>> rest of the website is composed of many custom views, scattered
Due to deprecation of ``django.contrib.markup``, I've decided to package
it as a 3rd-party app and release it.
source-code:
https://github.com/Alir3z4/django-markwhat
pypi:
http://pypi.python.org/pypi/django-markwhat
Regards,
Alireza Savand
--
You received this message because you are
On Tue, Jan 8, 2013 at 9:52 AM, chad petzoldt wrote:
> Right now my project only has 2 apps that use a database (*real* apps). The
> rest of the website is composed of many custom views, scattered all over the
> place. I am new to Django, and I havn't quite figured out how to
Sounds like you need 2 types of users, those that have registered and those
that haven't, and both have to be able to log in... Does this mean that you
have two sets of usernames and passwords? Can you bypass the first login
and simply send them to the reg form or do you have to check if the user
There's no reason why you can't split these into separate apps, then create
a templates directory and urls.py in each app folder, if this will help the
site organisation. You'll have to make sure you add each app to
settings.py, create __init__.py in every app folder. Just go for it. Get
everyone
Right now my project only has 2 apps that use a database (*real* apps). The
rest of the website is composed of many custom views, scattered all over
the place. I am new to Django, and I havn't quite figured out how to
structure my project directory just yet.
I think what I should really be
You might take a look at the form wizard.
You can create two separate forms, run them through the form wizard, and at
the end process the results and log the user in.
On Mon, Jan 7, 2013 at 12:06 PM, Okorie Emmanuel wrote:
> Am new to django and i want to develop an
Am new to django and i want to develop an e-registration portal. User
is require to login with details from a scratch card(pin and serial
no) and is redirected to a registration page to create an account and
thus can view account infor using another login form this time django
user login(auth). My
On Mon, Jan 07, 2013 at 11:11:08AM -0800, Bugra Bircan wrote:
> Hi everybody.
>
> I am new at Django and Pyhton. I just installed them and tried to do
> whatever tutorial says me.
>
>
> Actually I am also new at programming too, maybe becasuse of that I stuck
> at "
Hi everybody.
I am new at Django and Pyhton. I just installed them and tried to do
whatever tutorial says me.
Actually I am also new at programming too, maybe becasuse of that I stuck
at " https://docs.djangoproject.com/en/1.4/intro/tutorial01/ " (Database
setup)- That means Tutorial01
maybe I didn't understand correctly, but do you want to use email as a
backend for storing data? like an sql to IMAP wrapper?
On Mon, Jan 7, 2013 at 5:50 PM, bussiere bussiere wrote:
> Is there any orm or modification of django orm to use email as database
> for django ?
>
>
I'm looking for a Junior level Django job *(telecommute)*
About me:
- less than year of experience with Python/Django
- Intermediate knowledge of Python/Django
- Experience with Linux
- Experience with Django ORM
- *Passion* for developing high-quality software and Python language
- I am
- Original Message -
> From: "elton santos"
> To: django-users@googlegroups.com
> Sent: Monday, January 7, 2013 12:07:28 PM
> Subject: Django admin
> Hi,
> have some tutorial about django admin? i would customize him...
> I wanna make a CRUD for study and
You could try running:
$ python -W error manage.py runserver
That should cause the deprecation warning to actually raise an error and
cause a traceback to be displayed and hopefully show you where that import
is happening.
On Monday, January 7, 2013 1:13:33 PM UTC-5, Thiago wrote:
>
> Nope.
This could be happening in some app that you have pip installed (or
equivalent) and
are using in installed apps, or which is being included by some app that is.
You could find-grep in your virtualenv's site-packages for 'default' and
pass the result
into grep 'urls', and if necessary, into grep
Are you including any other apps that are not located under your project
folder?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/et1JsOmLoUQJ.
To post to
Nope. If I grep my entire project folder with: grep "defaults" . -r, the
only result is:
Binary file ./settings.pyc matches
Then I delete it, and runserver again, I get the message:
/virtualenvs/env-hrp-rc/local/lib/python2.7/site-packages/django/conf/urls/defaults.py:3:
DeprecationWarning:
Based on what you're describing, I'd recommend you look through the code
for django-cms. While it doesn't do exactly what you describe, they are
using a "plugin" system which might give you some ideas.
github: https://github.com/divio/django-cms
website: https://www.django-cms.org/
On Monday,
Héllo Elton,
have some tutorial about django admin? i would customize him...
>
> I wanna make a CRUD for study and customize the admin's views and models...
>
> there some tutorial for this?
>
> * i'm using the version 1.4
>
> Thanks!
>
I don't know any particular tutorial regarding the
Héllo Roodie,
On Monday, January 7, 2013 4:44:05 PM UTC+1, Roodie wrote:
> Hello, what I am looking for is some pointers/articles about a fully
> modularized architecture, where some of the functionality could depend on
> an existence of a model in a given project. We are (re)building one of
Hi,
have some tutorial about django admin? i would customize him...
I wanna make a CRUD for study and customize the admin's views and models...
there some tutorial for this?
* i'm using the version 1.4
Thanks!
--
You received this message because you are subscribed to the Google Groups
Hello, what I am looking for is some pointers/articles about a fully
modularized architecture, where some of the functionality could depend on
an existence of a model in a given project. We are (re)building one of our
portal applications, and I would like to fully modularize it.
Just a little
I know this is an old post, but did you ever get the group started?
Thanks,
Cheryl
On Monday, July 7, 2008 10:26:00 AM UTC-4, djworth wrote:
> Hi Fellow Djangonauts,
>
> We are trying to form a local users group for Django users in Bucks
> County PA (or surrounding areas). I wanted to
On Monday, 7 January 2013 13:54:59 UTC, jianhui chen wrote:
> Hi all.
>I use djangoappengine
> http://www.allbuttonspressed.com/projects/djangoappengine#zip-packages to
> manage google app engine.
>I test a very simple project:
>url.py:
>from django.conf.urls.defaults import *
>
*tl;dr* if you do not reuse the same django application several times it is
not useful.
The following is a messy don't hesitate to ask for clarification so that me
or someone else can contribute more documentation regarding this topic,
there is probably more than that but that's what I
I have several account on djangoeurope.com.
What I mostly do is like you did, create a new project using their admin
interface.
Next I backup the RUN script and delete that directory completely! The I
checkout my project code, just make sure the project you are checking out (or
copying) has
47 matches
Mail list logo