On 6/09/2012 4:07pm, heni yemun wrote:
Hi,
I'm having difficulty attaching comments to a User object i created. So
walk me through the process of *attaching comments* to *displaying
them*. THANK YOU!
Difficult to know exactly what you are trying to do from your
specification but typically, you
On Wed, Sep 5, 2012 at 9:18 PM, mjh wrote:
> yes it is being passed to the template as I can access the label, choices,
> help_text, required items of the boundfield object...
>
> i.e., {{ issue.label }} {{ issue.choices }} {{ issue.help_text }}
>
> I can get everything it seems apart from the for
I am trying to use autocomplete_light on an admin form. I find the
documentation extremely confusing. The google group for autocomplete_light
seems defunct (my request for subscription has not been answered for two
days). Does someone here use it?
The format of registry is not clear to me. I wo
Hi all !
I want to share user across projects.
And after I follow this document :
http://dustinfarris.com/2012/2/sharing-django-users-and-sessions-across-projects/
I got error message:
http://dpaste.com/797286/
Seems duplicate key with two databases, so how I should do ?
--
You received this m
I'm experimenting with creating a custom admin site but I'm confused about
something. Do I create an instance of my admin site in every admin.py or do
I only create a single instance somewhere, and if so, where?
Thanks
--
You received this message because you are subscribed to the Google Group
hi, rightnowi m going through the tutorial,
having problems with the tutorial part 2, line *customize the admin look
and feel.* wat to do after that.
can anyone guide to look forward..
thanks,
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi Guys,
The new modified questions and answers will be updated soon
Thanks for posting your valuable feedback.
On Wednesday, September 5, 2012 11:23:48 PM UTC+5:30, Amyth wrote:
>
> after reading this guide it seems, the interviewer who asks such questions
> himself is new to django or mo
This might be 3 years too late, but I had this same problem and the issue
was that my ADMINS setting wasn't a list or tuple:
ADMINS = (
('Admin', 't...@test.com')
)
changed it to the following and mail_admins worked:
ADMINS = (
('Admin', 't...@test.com'),
)
On Wednesday, June 17, 2009
Hi there,
I work for a bunch of XP fanatics, so we do quite religious TDD in our
Python/Django development. We start with functional/acceptance tests,
which we write using Selenium, driving a real web browser, and following a
test script that is essential a user story. We then write unit tes
You *can* install Django on Linux, Mac or Windows. Choose the
environment that you're most accustomed to if you're just trying to
get things done. However, if you want to learn Linux at the same time
(at least, bits of it), then I fully endorse going down that path.
On Wed, Sep 5, 2012 at 9:19 PM,
Error: App with label world could not be found. Are you sure your
INSTALLED_APPS setting is correct?
guys that an error i get after running the command below
$ python manage.py sqlall world
i have no idea what to do now, please help
--
You received this message because you are subscribed to
I have a custom AdminSite class working but now I'm trying to work out the
best way to make it use my custom login and logout views. I supposed I
could copy chunks of code from Django's admin sites.py and make it use my
views. But this is a hack. Is there a standard way of using custom
login/lo
I've been extremely busy with other projects and just got back to this. It
would appear you are correct about it not working correctly. I'm new to all
of this and I'd have been lost long ago without that guide but it is
severely lacking. Below is the result of the manage.py command.
[-bash-3.2
Well, do you have an app named "world" in your INSTALLED_APPS setting?
--
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/-/jvL-1nGXQxEJ.
To post to this group,
Thanks. I might as well bite bits of it. It's tough going because there
are so many dependencies. It's hard to gather all of the right packages
just to get through the Django tutorial.
On Thursday, September 6, 2012 6:59:02 AM UTC-7, Demian Brecht wrote:
>
> You *can* install Django on Linux,
Hey,
All you should need to get through the Django Tutorial is Python and
Django. During development you can use SQLite which is built in and doesn't
need any third-party libraries. Good luck!
On Thu, Sep 6, 2012 at 1:23 PM, ecs1749 wrote:
> Thanks. I might as well bite bits of it. It's tough
So I created models: http://dpaste.org/D4r7L/ forms:
http://dpaste.org/KMShj/ the output of the form generates:
http://dpaste.org/ua41K/
The form creates text areas to enter distributor name/url. What I'd like
on this form is a set of radio buttons to allow a true/false if the product
is dist
Hi there,
I have a website that I am currently rewriting app-by-app using Django. Server
is RedHat. Running Apache 2. Installed mod_wsgi. Everything works fine. Awesome.
If I go to http://www.mysite.com/ I get to the main site that pre-exists (in
PHP).
I have mod_wsgi running and working just
Hi,
I want to add a button like admin panel to the M2M or Foreign key fields.
With a popup (or something else) to add a new model (like in the admin
panel).
Ex.
#Models
class Vendor(models.Model):
name = models.CharField(max_length=255,blank=False,unique=True)
class Product(models.Model):
I've followed the instruction & proceeded upto the point where it comes to
activate the admin site. But I get the following error when I load the page
" http://127.0.0.1:8000/admin/";
CookieError at /admin/
Invalid Attribute httponly
Request Method:GETRequest URL:http://127.0.0.1:8000/admin/D
I added this instead to the forms:
class ShopProductDistributionForm(ModelForm):
"""A partial form to allow the association to distributors"""
class Meta:
model = ProductDistribution
fields = ['productID', 'distributorID']
def __init__(self, *args, **kwargs):
s
Maybe, your browser dont accept cookies ??
2012/9/6 Maheshakya Wijewardena
> I've followed the instruction & proceeded upto the point where it comes to
> activate the admin site. But I get the following error when I load the page
> " http://127.0.0.1:8000/admin/";
>
> CookieError at /admin/
>
>
*Dear Django Group,
Can you spare a few lines of code?
Our nonprofit has a great idea to help the unemployed and spur innovation
at the same time.
All we need is a simple app to let users register.
Can I get a community effort from this great Django community to write the
registration app?
Hi Alex
if you need some help contact me to and.mu...@gmail.com
have a nice day
El 07/09/2012, a las 00:18, Alex Glaros escribió:
> Dear Django Group,
>
> Can you spare a few lines of code?
>
> Our nonprofit has a great idea to help the unemployed and spur innovation at
> the same time.
>
>
Hi alex
I'm down as well email me at srichardelliot...@gmail.com
On Sep 6, 2012 6:28 PM, "andrea mucci" wrote:
> Hi Alex
>
> if you need some help contact me to and.mu...@gmail.com
>
> have a nice day
> El 07/09/2012, a las 00:18, Alex Glaros escribió:
>
> *Dear Django Group,
>
> Can you spare
I'm not much of an architect and am pretty new to Django, so I was hoping I
could get some advice. Currently our site is html/jQuery and all the data
is accessed through Javascript calls to rest services.
Data -> Rest Services -> HTML/jQuery
I was planning on putting a Django layer between the
Hello, I'm using https://github.com/jeremyjbowers/django-autocomplete to
use inline-admin autocomplete.
The problem occurs when I add another inline the name of the input
doesnt have the number of the row, it have --prefix--.instead.
I'm using the id to capture events with javascript, so I
extra info the code of the autocomplete code:
class BaseAutocompleteWidget(ForeignKeyRawIdWidget):
widget_template = None
search_path = '../foreignkey_autocomplete/'
class Media:
css = css_dict
js = js_tuple
abstract= True
Hey guys, I'm looking to manually supply a connection for a model to use.
(to take advantage of the ORM in i.e. long running django management
command).
Basically I have some loop that is run, and only a portion of the loop
requires a connection. I'd like to return the connection back to a pool
Hi All,
I'm trying to create a form on a web page where the user can select choices
from multiple drop-down lists ( HTML elements) and then submit them
all at once with a single submit button. Is this possible?
I don't want to use a single element with the "multiple" attribute
because the li
You're using development version of Django. Python 2.5 support is dropped
there. Use official 1.4 release.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from th
Well, that's almost true :-)
Granted - it's a lot easier so far but I had to track down several things
(and a whole lot of "here's how" tips) that were taken for granted (like
pip which require easy_install so on and so forth).
In retrospect, I recommend future newbee to take this route:
I have a different error:
ViewDoesNotExist at /admin/
Could not import polls.views.vote. View does not exist in module polls.views.
Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.1Exception Type:ViewDoesNotExistException Value:
Could not import polls.views.vote. V
Nevermind. I think I confused myself in doing step 3 before 2.
On Thursday, September 6, 2012 11:44:30 AM UTC-7, Maheshakya Wijewardena
wrote:
>
> I've followed the instruction & proceeded upto the point where it comes to
> activate the admin site. But I get the following error when I load the
How do i set to manual? where should this go?
On Thursday, September 6, 2012 2:19:29 AM UTC+8, Amyth wrote:
>
> This is because the re-captcha API is not able to recognize the keys ? do
> you have the re-Captcha settings set to automatic by any chance ? if so
> change it to manual and add the d
is this a right way as stated in this website:
http://digitaldreamer.net/blog/2010/4/15/integrating-recaptcha-contact-form-django-project/
On Friday, September 7, 2012 12:37:54 PM UTC+8, lakesh wrote:
>
> How do i set to manual? where should this go?
>
> On Thursday, September 6, 2012 2:19:29 AM
On Thursday, September 6, 2012 4:30:50 PM UTC+5:30, maha wrote:
Hi,
Right now i am going through this tutorial,https://docs.djangoproject.com
> I am having problems with the tutorial part 2, line: customize the admin
> look and feel.
> can anyone guide to look forward..
>
>
>
>
>
>
>
>
You might look into using jQuery to get the results and then post the
results (also using jQuery) to some url.
This approach doesn't really fit the Django pattern, but it should work.
On Thu, Sep 6, 2012 at 9:53 PM, Gchorn wrote:
> Hi All,
>
> I'm trying to create a form on a web page where the
Yep i do have it.
--
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/-/nbPRkHR6zBkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsub
39 matches
Mail list logo